You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yt-dlp/yt_dlp/utils
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
1 year ago
..
__init__.py [networking] Add module (#2861) 1 year ago
_deprecated.py [networking] Rewrite architecture (#2861) 1 year ago
_legacy.py [cleanup] Misc 1 year ago
_utils.py [networking] Rewrite architecture (#2861) 1 year ago
networking.py [networking] Rewrite architecture (#2861) 1 year ago
traversal.py [cleanup, utils] Split into submodules (#7090) 1 year ago