Merge remote-tracking branch 'origin/master'
[youtube-dl] / youtube_dl / options.py
index fd7b400b2a67204c2378303fbf33d2d0a3470993..262c60013797fa2c1eb88157dd2c3500ae1397cc 100644 (file)
@@ -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', type=float,
+        help='Number of seconds to sleep before each download.')
 
     verbosity = optparse.OptionGroup(parser, 'Verbosity / Simulation Options')
     verbosity.add_option(