mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-11-02 13:44:20 +09:00
Let YoutubeDLHandler (transparent gzip) handle HTTPS URLs as well (Needed for #579)
This commit is contained in:
1 parent
077174f4ed
commit
0f8d03f81c
1 file changed
+3
@@ -506,3 +506,6 @@ class YoutubeDLHandler(compat_urllib_request.HTTPHandler):
|
||||
resp = self.addinfourl_wrapper(gz, old_resp.headers, old_resp.url, old_resp.code)
|
||||
resp.msg = old_resp.msg
|
||||
return resp
|
||||
|
||||
https_request = http_request
|
||||
https_response = http_response
|
||||
Reference in new issue
Block a user