1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-18 12:39:26 +01: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 @@ class FFmpegFD(ExternalFD):
# args += ['-http_proxy', proxy] # args += ['-http_proxy', proxy]
env = os.environ.copy() env = os.environ.copy()
compat_setenv('HTTP_PROXY', proxy, env=env) compat_setenv('HTTP_PROXY', proxy, env=env)
compat_setenv('http_proxy', proxy, env=env)
protocol = info_dict.get('protocol') protocol = info_dict.get('protocol')