Explorar o código

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

Jaime Marquínez Ferrándiz %!s(int64=12) %!d(string=hai) anos
pai
achega
c2e52508cc
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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: