0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00
Yen Chi Hsuan 2016-06-08 14:43:52 +08:00
parent 7264e38591
commit 50ce1c331c
No known key found for this signature in database
GPG key ID: 3FDDD575826C5C30

View file

@ -210,6 +210,7 @@ def _call_downloader(self, tmpfilename, info_dict):
# args += ['-http_proxy', proxy]
env = os.environ.copy()
compat_setenv('HTTP_PROXY', proxy, env=env)
compat_setenv('http_proxy', proxy, env=env)
protocol = info_dict.get('protocol')