aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorSergey M <dstftw@gmail.com>2016-03-23 20:12:32 +0500
committerSergey M <dstftw@gmail.com>2016-03-23 20:12:32 +0500
commit4333d56494a48929303ce306330ee3cded989d48 (patch)
treeabc49c455024ed34760f89d344cadc12cbedc73c /youtube_dl/options.py
parent882c6992967914c245e086ddaacde9d595cd6ed9 (diff)
parent16a8b7986b88572aea12c0f80c499e6e8085f1cc (diff)
Merge pull request #8898 from dstftw/fragment-retries
Add --fragment-retries option (Fixes #8466)
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 755ed6540..7819f14ab 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)')