[dl:ytdl] support '_ytdl_params'

This commit is contained in:
Mike Fährmann
2025-12-28 23:35:21 +01:00
parent 5427e337d4
commit e12b17649a

View File

@@ -69,7 +69,7 @@ class YoutubeDLDownloader(DownloaderBase):
self.log.debug("Using %s version %s", module, ytdl_version)
self.ytdl_instance = ytdl_instance = ytdl.construct_YoutubeDL(
module, self, self.ytdl_opts)
module, self, self.ytdl_opts, kwdict.get("_ytdl_params"))
if self.outtmpl == "default":
self.outtmpl = module.DEFAULT_OUTTMPL
self._prepare(ytdl_instance)