aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authorsingh-pratyush96 <singh.pratyush96@gmail.com>2016-08-04 15:47:22 +0530
committerSergey M․ <dstftw@gmail.com>2016-08-09 03:32:42 +0700
commit065bc354894f1d35592529455d9eb685470124b9 (patch)
treeea4686d4649cac08f87a4980b4a8a645f431545a /youtube_dl/YoutubeDL.py
parent3a380766d1d6abd83213319b41cdf9a18977a69c (diff)
Add --max-sleep-interval (Closes #9930)
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rwxr-xr-xyoutube_dl/YoutubeDL.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 6551f086f..82b77783d 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -249,7 +249,11 @@ class YoutubeDL(object):
source_address: (Experimental) Client-side IP address to bind to.
call_home: Boolean, true iff we are allowed to contact the
youtube-dl servers for debugging.
- sleep_interval: Number of seconds to sleep before each download.
+ sleep_interval: Minimum number of seconds to sleep before each download.
+ Sleep will be for a random interval if --max-sleep-interval is also passed.
+ max_sleep_interval:Max number of seconds to sleep before each download.
+ Sleep will be for a random interval if passed along with --min-sleep-interval
+ or --sleep-interval, otherwise ignored.
listformats: Print an overview of available video formats and exit.
list_thumbnails: Print a table of all thumbnails and exit.
match_filter: A function that gets called with the info_dict of