Commit Graph

20 Commits (1e8fe57e5cd0f33f940df87430d75e1230ec5b7a)

Author SHA1 Message Date
pukkandan b4daacb4ec
[mhtml, cleanup] Use imghdr
pukkandan 6929b41a21
Remove Python 3.6 support
Closes 
pukkandan f5e438a976
[compat] Let PyInstaller detect _legacy module
pukkandan ae61d108dd
[cleanup] Misc cleanup
pukkandan 54007a45f1
[cleanup] Consistent style for file heads
pukkandan ac66811112
[compat] Remove more functions
Removing any more will require changes to a large number of extractors
pukkandan 3c5386cd71
[compat] Fix `compat.WINDOWS_VT_MODE`
pukkandan 57e0f077a6
[update] Expose more functionality to API
pukkandan 560738f34d
[extractor] Import `_ALL_CLASSES` lazily
This significantly speeds up `import yt_dlp` in the absence of `lazy_extractors`
pukkandan 8a82af3511
[cleanup] Misc fixes and cleanup
Closes , Closes , Closes 
pukkandan 1a8cc83735
Bugfix for 3a408f9d19
pukkandan 2762dbb17e
[compat] Add `functools.cached_property`
pukkandan 53973b4d2c
[utils] Fix bug in 0b9c08b47b
* Cache of `supports_terminal_sequences` must be reset after enabling VT mode
* and move `windows_enable_vt_mode` to utils to avoid cyclic imports
pukkandan 0b9c08b47b
[utils] Improve performance using `functools.cache`
Closes 
pukkandan 5792c950bf
[compat] Implement `compat.imghdr`
Python 3.11 deprecates `imghdr` module
pukkandan 1d485a1a79
[cleanup] Misc fixes
Closes , https://github.com/yt-dlp/yt-dlp/issues/3514#issuecomment-1105944364
pukkandan 059bc4db19
[compat/asyncio] Use `asyncio.all_tasks`
pukkandan 9196cbfe8b
[compat] Ensure submodules are correctly wrapped
pukkandan 9b8ee23b99
[dependencies] Create module with all dependency imports
felix 77f9033095
[compat] Split into sub-modules ()
Authored by: fstirlitz, pukkandan