aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader/fragment.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-19 20:42:23 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-19 20:42:23 +0600
commite33baba0dd6584475f75badec2186a7d86b88a5d (patch)
tree2e355de7c1f788a38c062386c1459bc71c9140be /youtube_dl/downloader/fragment.py
parent721f26b8211a22648523f51c80f9b81d1eaa3b32 (diff)
[downloader/dash] Add fragment retry capability
YouTube may often return 404 HTTP error for a fragment causing the whole download to fail. However if the same fragment is immediately retried with the same request data this usually succeeds (1-2 attemps is usually enough) thus allowing to download the whole file successfully. So, we will retry all fragments that fail with 404 HTTP error for now.
Diffstat (limited to 'youtube_dl/downloader/fragment.py')
0 files changed, 0 insertions, 0 deletions