mirror of https://github.com/yt-dlp/yt-dlp.git
Include the proxy in the parameters for YoutubeDL (fixes #1831)
This commit is contained in:
parent
d8ec4959c8
commit
c2e52508cc
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue