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')