aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-19 20:40:36 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-19 20:40:36 +0600
commit52bb437e412726a37d585cf782c88bc8c8a042a4 (patch)
tree79291cd642ba94a1566bcbca74bc476333359eee /youtube_dl/options.py
parent782b1b5bd1cdaaead6865dee5d300486e7dd8348 (diff)
downloadyoutube-dl-52bb437e412726a37d585cf782c88bc8c8a042a4.tar.xz
[options] Add --fragment-retries option
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 9dd7a8034..822728afc 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -400,6 +400,10 @@ def parseOpts(overrideArguments=None):
dest='retries', metavar='RETRIES', default=10,
help='Number of retries (default is %default), or "infinite".')
downloader.add_option(
+ '--fragment-retries',
+ dest='fragment_retries', metavar='RETRIES', default=10,
+ help='Number of retries for a fragment (default is %default), or "infinite" (DASH only)')
+ downloader.add_option(
'--buffer-size',
dest='buffersize', metavar='SIZE', default='1024',
help='Size of download buffer (e.g. 1024 or 16K) (default is %default)')