projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7264e38
)
[downloader/external] Add another env for proxies in ffmpeg/avconv
author
Yen Chi Hsuan
<yan12125@gmail.com>
Wed, 8 Jun 2016 06:43:52 +0000
(14:43 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Wed, 8 Jun 2016 06:43:52 +0000
(14:43 +0800)
Related sources:
https://git.libav.org/?p=libav.git;a=blob;f=libavformat/http.c;h=
8fe8d11e1edfdbb04a8726db2c49cfef3f572aac
;hb=HEAD#l152
https://git.libav.org/?p=libav.git;a=blob;f=libavformat/tls.c;h=
fab243e93e20034e88e619188c13a44a5d8ccdb9
;hb=HEAD#l63
https://github.com/FFmpeg/FFmpeg/blob/
f8e89d8
/libavformat/http.c#L191
https://github.com/FFmpeg/FFmpeg/blob/
f8e89d8
/libavformat/tls.c#L92
youtube_dl/downloader/external.py
patch
|
blob
|
history
diff --git
a/youtube_dl/downloader/external.py
b/youtube_dl/downloader/external.py
index 3a73cee1c7c09f6e9350e13b9a041edfdd4a517a..3ff1f9ed4c1dea1c3b30032909651b50f706dfea 100644
(file)
--- a/
youtube_dl/downloader/external.py
+++ b/
youtube_dl/downloader/external.py
@@
-210,6
+210,7
@@
class FFmpegFD(ExternalFD):
# 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')