1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

[ytdl] actually set options for YoutubeDL objects (#1680)

I somehow managed to remove the options parameter for
the YoutubeDL constructor in 9a849cdf without noticing ...
This commit is contained in:
Mike Fährmann 2021-07-16 02:53:04 +02:00
parent fc19010808
commit 06e69ea79a
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -74,7 +74,7 @@ class YoutubeDLExtractor(Extractor):
options["username"], options["password"] = username, password
del username, password
ytdl = ytdl_module.YoutubeDL()
ytdl = ytdl_module.YoutubeDL(options)
# transfer cookies to ytdl
cookies = self.session.cookies