From 06e69ea79a2fa6eb8b7a1423ab96dfc6d73ea580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 16 Jul 2021 02:53:04 +0200 Subject: [PATCH] [ytdl] actually set options for YoutubeDL objects (#1680) I somehow managed to remove the options parameter for the YoutubeDL constructor in 9a849cdf without noticing ... --- gallery_dl/extractor/ytdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery_dl/extractor/ytdl.py b/gallery_dl/extractor/ytdl.py index 394caf48..427f2782 100644 --- a/gallery_dl/extractor/ytdl.py +++ b/gallery_dl/extractor/ytdl.py @@ -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