From db8dd525f3c0dc061db35e63e060268baa7cf4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sat, 13 Dec 2025 10:50:38 +0100 Subject: [PATCH] [ytdl] respect '--no-skip' --- gallery_dl/ytdl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gallery_dl/ytdl.py b/gallery_dl/ytdl.py index 090d5fc6..a4d80974 100644 --- a/gallery_dl/ytdl.py +++ b/gallery_dl/ytdl.py @@ -55,6 +55,8 @@ def construct_YoutubeDL(module, obj, user_opts, system_opts=None): opts["min_filesize"] = text.parse_bytes(config("filesize-min"), None) if opts.get("max_filesize") is None: opts["max_filesize"] = text.parse_bytes(config("filesize-max"), None) + if opts.get("overwrites") is None and not config("skip", True): + opts["overwrites"] = True if opts.get("ratelimit") is None: if rate := config("rate"): func = util.build_selection_func(rate, 0, text.parse_bytes)