Просмотр исходного кода

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

Jaime Marquínez Ferrándiz 12 лет назад
Родитель
Сommit
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,
         'cookiefile': opts.cookiefile,
         'nocheckcertificate': opts.no_check_certificate,
+        'proxy': opts.proxy,
     }
 
     with YoutubeDL(ydl_opts) as ydl: