From 0c9df79e170dc4e465271691d56ea155eff7cfb3 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 29 Sep 2020 05:11:32 +0200 Subject: [core] no sleep affected subtitles only with enforced flag --- youtube_dlc/options.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'youtube_dlc/options.py') diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py index e6873c703..e0651b7ba 100644 --- a/youtube_dlc/options.py +++ b/youtube_dlc/options.py @@ -580,6 +580,10 @@ def parseOpts(overrideArguments=None): 'Upper bound of a range for randomized sleep before each download ' '(maximum possible number of seconds to sleep). Must only be used ' 'along with --min-sleep-interval.')) + workarounds.add_option( + '--sleep-subtitles', + dest='sleep_interval_subtitles', action='store_true', default=False, + help='Enforce sleep interval on subtitles as well') verbosity = optparse.OptionGroup(parser, 'Verbosity / Simulation Options') verbosity.add_option( -- cgit v1.2.3