Include the proxy in the parameters for YoutubeDL (fixes #1831)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 26 Nov 2013 07:03:11 +0000 (08:03 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 26 Nov 2013 07:03:11 +0000 (08:03 +0100)
youtube_dl/__init__.py

index 102508cf93e919752c93cef7d1bcf3ee78342aa9..0704515dfdcc8dc547380851faf616e237ec5b39 100644 (file)
@@ -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: