Commit Graph

28 Commits (92a5c415328953851d0a6b7893de5387a1b7b469)

Author SHA1 Message Date
Sergey M․ 50534b7158
[downloader/fragment] PEP 8 8 years ago
Sergey M․ c0fa4245ce
[downloader/fragment] Remove assert for resume_len when no fragments downloaded
This may be incorrect due some header (e.g. flv header in f4m downloader)
8 years ago
Sergey M․ 85f6de25e4
[downloader/fragment] Clarify current_fragment's index and mark as experimental 8 years ago
Sergey M․ 290f64dbaa
[downloader/fragment] Improve .ytdl format and start documenting 8 years ago
Sergey M․ adb4b03cd5
[downloader/fragment] Don't process ytdl file when it's not needed yet 8 years ago
Sergey M․ 0eee52f34b
Introduce --keep-fragments 8 years ago
Sergey M․ d3f0687cf7
[downloader/fragment] Use temp file for current fragment 8 years ago
Remita Amine 4abdba643c [downloader/fragment] remove unused code 8 years ago
Remita Amine 3e0304fe6e [downloader/fragment] use the documented names for fragment progress_hooks fields 8 years ago
Remita Amine ea0c2f219c [downloader/fragment] use a general file to store fragment download context 8 years ago
Remita Amine 75a2485407 [fragment,hls,f4m,dash,ism] improve fragment downloading
- resume immediately
- no need to concatenate segments and decrypt them on every resume
- no need to save temp files for segments

and for hls downloader:
- no need to download keys for segments that already downloaded
8 years ago
Sergey M․ 7097bffba6
[downloader/fragment] Respect --no-part 8 years ago
Sergey M․ 690355551c
[downoader/fragment,f4m,hls] Add internal support for custom HTTP headers 8 years ago
Sergey M․ 2e99cd30c3
[downloader/dash:hls] Report exact fragment error on retry 8 years ago
Sergey M․ 9603b66012
Introduce --skip-unavailable-fragments 8 years ago
Sergey M․ 16a8b7986b [downloader/fragment] Document fragment_retries 9 years ago
Sergey M․ 617e58d850 [downloader/{common,fragment}] Fix total retries reporting on python 2.6 9 years ago
Sergey M․ 721f26b821 [downloader/fragment] Add report_retry_fragment 9 years ago
Sergey M․ 1b5284b13f [downloader/fragment] Make speed more smooth
At the beginning of every segment there was a drop to Unknown speed due to timeslice being too small to calculate speed.
Now last speed from the previous fragment is used.
9 years ago
Sergey M․ d800609c62 [refactor] Do not specify redundant None as second argument in dict.get() 9 years ago
Sergey M․ 2c2f1efdcd [downloader/fragment] Remove superfluous whitespace 9 years ago
Sergey M․ 5fa1702ca6 [downloader/fragment] Do not report total bytes estimation and eta for live streams 9 years ago
Sergey M․ b83b782dc4 [downloader/fragment] Move helper data to context dict 9 years ago
Sergey M․ 709185a264 [downloader/fragment] More smooth calculations
`downloaded_bytes` is now updated on each fragment progress hook invocation
9 years ago
Sergey M․ 9cb1a06b6c [downloader/fragment] Remove unused code and fix zero division error 9 years ago
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 #8156) 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).
9 years ago
Sergey M․ 6828c809e4 [downloader/fragment] Respect --retries for fragment based downloaders (Closes #6549) 9 years ago
Sergey M․ 95d8f7ea12 [fragment] Generalize fragmented media file downloader 9 years ago