[dl:ytdl] support '_ytdl_params'
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user