aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader/fragment.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-08-13 21:07:14 +0600
committerSergey M․ <dstftw@gmail.com>2015-08-13 21:07:14 +0600
commit6828c809e44fca7b19da3c62a11cea313a86b64e (patch)
tree48da06de72cd552f012f8099c084a62580694a19 /youtube_dl/downloader/fragment.py
parent28479149ccf3425e6a6e35d3a155f6802629728a (diff)
[downloader/fragment] Respect --retries for fragment based downloaders (Closes #6549)
Diffstat (limited to 'youtube_dl/downloader/fragment.py')
-rw-r--r--youtube_dl/downloader/fragment.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/downloader/fragment.py b/youtube_dl/downloader/fragment.py
index 5f9d6796d..5a64b29ee 100644
--- a/youtube_dl/downloader/fragment.py
+++ b/youtube_dl/downloader/fragment.py
@@ -35,6 +35,7 @@ class FragmentFD(FileDownloader):
'quiet': True,
'noprogress': True,
'ratelimit': self.params.get('ratelimit', None),
+ 'retries': self.params.get('retries', 0),
'test': self.params.get('test', False),
}
)