[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

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