1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-06-29 20:51:10 +02:00
yt-dlp/yt_dlp/compat
coletdjnz 227bf1a33b
[networking] Rewrite architecture (#2861)
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
2023-07-15 16:18:35 +05:30
..
urllib [core] Workaround erroneous urllib Windows proxy parsing (#7092) 2023-05-27 07:17:27 +00:00
__init__.py [networking] Rewrite architecture (#2861) 2023-07-15 16:18:35 +05:30
_deprecated.py [compat] Remove more functions 2022-06-25 00:08:55 +05:30
_legacy.py [dependencies] Simplify Cryptodome 2023-02-28 23:15:13 +05:30
compat_utils.py [dependencies] Simplify Cryptodome 2023-02-28 23:15:13 +05:30
functools.py Bugfix for 3a408f9d19 2022-05-20 21:25:07 +05:30
imghdr.py [mhtml, cleanup] Use imghdr 2022-07-31 02:20:12 +05:30
shutil.py [compat] Fix shutils.move in restricted ACL mode on BSD (#5309) 2022-11-07 20:54:30 +05:30