aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/options.py
diff options
context:
space:
mode:
authorUnknown <blackjack4494@web.de>2020-09-29 05:11:32 +0200
committerUnknown <blackjack4494@web.de>2020-09-29 05:11:32 +0200
commit0c9df79e170dc4e465271691d56ea155eff7cfb3 (patch)
treea9e8bffca8f404696eaf5fdfd32383dd4f2600f6 /youtube_dlc/options.py
parent88bdacf33cb68d14a96fe807e988cc2114310d0f (diff)
downloadhypervideo-pre-0c9df79e170dc4e465271691d56ea155eff7cfb3.tar.lz
hypervideo-pre-0c9df79e170dc4e465271691d56ea155eff7cfb3.tar.xz
hypervideo-pre-0c9df79e170dc4e465271691d56ea155eff7cfb3.zip
[core] no sleep affected subtitles only with enforced flag
Diffstat (limited to 'youtube_dlc/options.py')
-rw-r--r--youtube_dlc/options.py4
1 files changed, 4 insertions, 0 deletions
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(