[downloader/fragment] Respect --retries for fragment based downloaders (Closes #6549)
authorSergey M․ <dstftw@gmail.com>
Thu, 13 Aug 2015 15:07:14 +0000 (21:07 +0600)
committerSergey M․ <dstftw@gmail.com>
Thu, 13 Aug 2015 15:07:14 +0000 (21:07 +0600)
youtube_dl/downloader/fragment.py

index 5f9d6796dc80d53105c4c776ab4ecaaad391af36..5a64b29eefd9bf7a35f6220efc25bcbd999ce33c 100644 (file)
@@ -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),
             }
         )