dirkf
dirkf
From the doc of the Python API that yt-dl uses: >Proxies which require authentication for use are not currently supported; this is considered an implementation limitation. Maybe this works in...
"yt-dl" is just an abbreviation for "youtube-dl".
https://github.com/yt-dlp/yt-dlp/issues/1890 is very useful, these especially. From https://github.com/yt-dlp/yt-dlp/issues/1890#issuecomment-986245020: >Can confirm, HTTP proxies work but HTTPS ones are broken, whether via --proxy or environment variable. From https://github.com/yt-dlp/yt-dlp/issues/1890#issuecomment-986977600: >One quick workaround would...
Probably, but more research needed. One downstream hack (for a settop box whose Python2 SSL is too old) delegates web access for extraction to _wget_; this could be worked up...
Eg: ```diff --- old/youtube-dl/youtube_dl/utils.py +++ new/youtube-dl/youtube_dl/utils.py @@ -5833,10 +5833,13 @@ if proxy == '__noproxy__': return None # No Proxy - if compat_urllib_parse.urlparse(proxy).scheme.lower() in ('socks', 'socks4', 'socks4a', 'socks5'): + scheme =...
Maybe: ```diff - raise NotImplementedError('''urllib2 doesn't support https proxies''') + err = NotImplementedError('''urllib2 doesn't support https proxies''') + raise ExtractorError('Proxy error', cause=err, expected=True) ``` I suppose the message also appears...
Certainly one way to support https proxies in Python requires `urllib3>=1.26.17`. There may be other ways given the size of the Python module ecosystem, but the refined error message is...
Also [https://github.com/SeaHOH/extproxy as an optional dependency is another possibility](https://github.com/ytdl-org/youtube-dl/issues/32696#issuecomment-2015537450).
Please complete the template.
Test video expired.