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:
parent
fc19010808
commit
06e69ea79a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user