aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/compat
Commit message (Collapse)AuthorAgeFilesLines
* [compat] Ensure submodules are imported correctlypukkandan2023-07-223-5/+13
| | | | Closes #7663
* Fix e0c4db04dc82a699bdabd9821ddc239ebe17d30a for pypypukkandan2023-07-221-2/+3
|
* [cleanup] Misc fixespukkandan2023-07-221-2/+2
| | | | Closes #7528
* [compat] Add `types.NoneType`pukkandan2023-07-221-0/+12
|
* [compat, networking] Deprecate old functions (#2861)coletdjnz2023-07-152-1/+1
| | | | Authored by: coletdjnz, pukkandan
* [networking] Rewrite architecture (#2861)coletdjnz2023-07-151-0/+10
| | | | | | | | | | | | | | | | New networking interface consists of a `RequestDirector` that directs each `Request` to appropriate `RequestHandler` and returns the `Response` or raises `RequestError`. The handlers define adapters to transform its internal Request/Response/Errors to our interfaces. User-facing changes: - Fix issues with per request proxies on redirects for urllib - Support for `ALL_PROXY` environment variable for proxy setting - Support for `socks5h` proxy - Closes https://github.com/yt-dlp/yt-dlp/issues/6325, https://github.com/ytdl-org/youtube-dl/issues/22618, https://github.com/ytdl-org/youtube-dl/pull/28093 - Raise error when using `https` proxy instead of silently converting it to `http` Authored by: coletdjnz
* [core] Workaround erroneous urllib Windows proxy parsing (#7092)coletdjnz2023-05-272-0/+47
| | | | | | Convert proxies extracted from windows registry to http for older Python versions. See: https://github.com/python/cpython/issues/86793 Authored by: coletdjnz
* [dependencies] Simplify `Cryptodome`pukkandan2023-02-282-2/+2
| | | | Closes #6292, closes #6272, closes #6338
* Update to ytdl-commit-2dd6c6epukkandan2023-02-171-10/+20
| | | | | | | | | | [YouTube] Avoid crash if uploader_id extraction fails https://github.com/ytdl-org/youtube-dl/commit/2dd6c6edd8e0fc5e45865b8e6d865e35147de772 Except: * 295736c9cba714fb5de7d1c3dd31d86e50091cf8 [jsinterp] Improve parsing * 384f632e8a9b61e864a26678d85b2b39933b9bae [ITV] Overhaul ITV extractor * 33db85c571304bbd6863e3407ad8d08764c9e53b [feat]: Add support to external downloader aria2p
* [compat_utils] Simplify `EnhancedModule`pukkandan2023-02-091-16/+2
|
* [devscripts] Provide pyinstaller hookspukkandan2023-02-091-6/+0
| | | | Closes #6185
* [compat_utils] Improve `passthrough_module`pukkandan2023-02-081-11/+15
|
* [dependencies] Standardize `Cryptodome` importspukkandan2023-02-081-10/+6
|
* Support module level `__bool__` and `property`pukkandan2023-02-082-37/+64
|
* [compat] Fix `shutils.move` in restricted ACL mode on BSD (#5309)ClosedPort222022-11-071-0/+30
| | | Authored by: ClosedPort22, pukkandan
* Update to ytdl-commit-de39d128pukkandan2022-11-071-0/+1
| | | | | | | [extractor/ceskatelevize] Back-port extractor from yt-dlp https://github.com/ytdl-org/youtube-dl/commit/de39d1281cea499cb1adfce5ff7e0a56f1bad5fe Closes #5361, Closes #4634, Closes #5210
* [extractor/listennotes] Add extractor (#5310)Alex Karabanov2022-11-071-1/+1
| | | | Closes #5262 Authored by: lksj, pukkandan
* [mhtml, cleanup] Use imghdrpukkandan2022-07-311-5/+7
|
* Remove Python 3.6 supportpukkandan2022-07-184-47/+10
| | | | Closes #3764
* [compat] Let PyInstaller detect _legacy modulepukkandan2022-07-171-8/+8
|
* [cleanup] Misc cleanuppukkandan2022-06-291-19/+19
|
* [cleanup] Consistent style for file headspukkandan2022-06-253-4/+1
|
* [compat] Remove more functionspukkandan2022-06-252-44/+40
| | | | Removing any more will require changes to a large number of extractors
* [compat] Fix `compat.WINDOWS_VT_MODE`pukkandan2022-06-252-16/+21
|
* [update] Expose more functionality to APIpukkandan2022-06-211-1/+1
|
* [extractor] Import `_ALL_CLASSES` lazilypukkandan2022-06-161-1/+4
| | | | This significantly speeds up `import yt_dlp` in the absence of `lazy_extractors`
* [cleanup] Misc fixes and cleanuppukkandan2022-05-271-2/+7
| | | | Closes #3780, Closes #3853, Closes #3850
* Bugfix for 3a408f9d199127ca2626359e21a866a09ab236b3pukkandan2022-05-201-0/+2
|
* [compat] Add `functools.cached_property`pukkandan2022-05-201-0/+12
|
* [utils] Fix bug in 0b9c08b47bb5e95c21b067044ace4e824d19a9c2pukkandan2022-05-202-16/+7
| | | | | * Cache of `supports_terminal_sequences` must be reset after enabling VT mode * and move `windows_enable_vt_mode` to utils to avoid cyclic imports
* [utils] Improve performance using `functools.cache`pukkandan2022-05-191-0/+12
| | | | Closes #3786
* [compat] Implement `compat.imghdr`pukkandan2022-05-171-0/+14
| | | | Python 3.11 deprecates `imghdr` module
* [cleanup] Misc fixespukkandan2022-04-295-9/+24
| | | | Closes #3565, https://github.com/yt-dlp/yt-dlp/issues/3514#issuecomment-1105944364
* [compat/asyncio] Use `asyncio.all_tasks`pukkandan2022-04-262-15/+6
|
* [compat] Ensure submodules are correctly wrappedpukkandan2022-04-265-22/+66
|
* [dependencies] Create module with all dependency importspukkandan2022-04-212-21/+3
|
* [compat] Split into sub-modules (#2173)felix2022-04-186-0/+268
Authored by: fstirlitz, pukkandan