Skip to content

A feature-rich command-line audio/video downloader

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

Jaime Marquínez Ferrándizc2e52508cca3
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 102508cf93..0704515dfd 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: