Commit Graph

9 Commits (6212bcb19140da77d25fe17830930ebbd8a22c1d)

Author SHA1 Message Date
Sergey M․ d800609c62 [refactor] Do not specify redundant None as second argument in dict.get()
Sergey M․ 2c2f1efdcd [downloader/fragment] Remove superfluous whitespace
Sergey M․ 5fa1702ca6 [downloader/fragment] Do not report total bytes estimation and eta for live streams
Sergey M․ b83b782dc4 [downloader/fragment] Move helper data to context dict
Sergey M․ 709185a264 [downloader/fragment] More smooth calculations
`downloaded_bytes` is now updated on each fragment progress hook invocation
Sergey M․ 9cb1a06b6c [downloader/fragment] Remove unused code and fix zero division error
Jaime Marquínez Ferrándiz 3c91e41614 [downloader/fragment] Don't fail if the 'Content-Length' header is missing
In some dailymotion videos (like http://www.dailymotion.com/video/x3k0dtv from ) the segments URLs don't have the 'Content-Length' header and HttpFD sets the 'totat_bytes' field to None, so we also use '0' in that case (since we do different math operations with it).
Sergey M․ 6828c809e4 [downloader/fragment] Respect --retries for fragment based downloaders (Closes )
Sergey M․ 95d8f7ea12 [fragment] Generalize fragmented media file downloader