aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/downloader/ytdl.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2026-01-06 04:24:52 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2026-01-06 04:24:52 -0500
commit385e4bfb1e426d23417ac788a6f44d639e226c89 (patch)
treee64f04e19d63014d48e3b5272ce112c637236ba7 /gallery_dl/downloader/ytdl.py
parenta24ec1647aeac35a63b744ea856011ad6e06be3b (diff)
New upstream version 1.31.2.upstream/1.31.2upstream
Diffstat (limited to 'gallery_dl/downloader/ytdl.py')
-rw-r--r--gallery_dl/downloader/ytdl.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/downloader/ytdl.py b/gallery_dl/downloader/ytdl.py
index e9b3294..32fb7b9 100644
--- a/gallery_dl/downloader/ytdl.py
+++ b/gallery_dl/downloader/ytdl.py
@@ -41,6 +41,7 @@ class YoutubeDLDownloader(DownloaderBase):
kwdict = pathfmt.kwdict
tries = 0
+ kwdict["_mtime_http"] = None
if ytdl_instance := kwdict.pop("_ytdl_instance", None):
# 'ytdl' extractor
self._prepare(ytdl_instance)
@@ -68,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)