[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user