summaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2013-11-26 08:03:11 +0100
committerJaime Marquínez Ferrándiz <[email protected]>2013-11-26 08:03:11 +0100
commitc2e52508cca307113ff0c3aedcc0519d92c48f00 (patch)
tree365cb32aeb954766d730045440d839e4f2392553 /youtube_dl/__init__.py
parentd8ec4959c824cba4c87af16ad0b25851560fcf57 (diff)
downloadyoutube-dl-c2e52508cca307113ff0c3aedcc0519d92c48f00.tar.gz
youtube-dl-c2e52508cca307113ff0c3aedcc0519d92c48f00.zip
Include the proxy in the parameters for YoutubeDL (fixes #1831)
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r--youtube_dl/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 102508cf9..0704515df 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -651,6 +651,7 @@ def _real_main(argv=None):
'download_archive': opts.download_archive,
'cookiefile': opts.cookiefile,
'nocheckcertificate': opts.no_check_certificate,
+ 'proxy': opts.proxy,
}
with YoutubeDL(ydl_opts) as ydl: