[options] add '--sleep-skip' option (#6582)

https://github.com/mikf/gallery-dl/issues/6582#issuecomment-3677460485
This commit is contained in:
Mike Fährmann
2025-12-20 18:02:10 +01:00
parent 575bf7a9f9
commit 19a27a47b3
6 changed files with 26 additions and 2 deletions

View File

@@ -528,6 +528,11 @@ def build_parser():
"This can be either a constant value or a range "
"(e.g. 2.7 or 2.0-3.5)"),
)
downloader.add_argument(
"--sleep-skip",
dest="sleep-skip", metavar="SECONDS", action=ConfigAction,
help=("Number of seconds to wait after skipping a file download"),
)
downloader.add_argument(
"--sleep-request",
dest="sleep-request", metavar="SECONDS", action=ConfigAction,