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: