]> git.bitcoin.ninja Git - youtube-dl/commit
[downloader/dash] Add fragment retry capability
authorSergey M․ <dstftw@gmail.com>
Sat, 19 Mar 2016 14:42:23 +0000 (20:42 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 19 Mar 2016 14:42:23 +0000 (20:42 +0600)
commite33baba0dd6584475f75badec2186a7d86b88a5d
tree2e355de7c1f788a38c062386c1459bc71c9140be
parent721f26b8211a22648523f51c80f9b81d1eaa3b32
[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.
youtube_dl/downloader/dash.py