瀏覽代碼

Include the proxy in the parameters for YoutubeDL (fixes #1831)

Jaime Marquínez Ferrándiz 11 年之前
父節點
當前提交
c2e52508cc
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      youtube_dl/__init__.py

+ 1 - 0
youtube_dl/__init__.py

@@ -651,6 +651,7 @@ def _real_main(argv=None):
         'download_archive': opts.download_archive,
         'download_archive': opts.download_archive,
         'cookiefile': opts.cookiefile,
         'cookiefile': opts.cookiefile,
         'nocheckcertificate': opts.no_check_certificate,
         'nocheckcertificate': opts.no_check_certificate,
+        'proxy': opts.proxy,
     }
     }
 
 
     with YoutubeDL(ydl_opts) as ydl:
     with YoutubeDL(ydl_opts) as ydl: