aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-01-23 12:05:01 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-01-23 12:05:01 +0100
commit5f0d813d9395848e92a1c6d83335360652d654c1 (patch)
tree4a7f8ec160f94293c9d5b30404b8cc8a56730e85 /youtube_dl/options.py
parent501f13fbf3d1f7225f91e3e0ad008df2cd3219f1 (diff)
parentca7a9c1bf7c57d1a5da9a24dd7618d95cb93102a (diff)
downloadyoutube-dl-5f0d813d9395848e92a1c6d83335360652d654c1.tar.xz
Merge remote-tracking branch 'rupertbaxter2/master'
Conflicts: youtube_dl/__init__.py youtube_dl/downloader/common.py
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index fd7b400b2..12c9826f8 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -421,6 +421,10 @@ def parseOpts(overrideArguments=None):
'--bidi-workaround',
dest='bidi_workaround', action='store_true',
help='Work around terminals that lack bidirectional text support. Requires bidiv or fribidi executable in PATH')
+ workarounds.add_option(
+ '--sleep-interval', metavar='SECONDS',
+ dest='sleep_interval',
+ help='Number of seconds to sleep before each download.')
verbosity = optparse.OptionGroup(parser, 'Verbosity / Simulation Options')
verbosity.add_option(