Commit Graph

37 Commits (152f22920d73bb0dc24fa357d5904a8dd97a5bf6)

Author SHA1 Message Date
lightmare 3bce4ff7d9 [downloader/fragment] Fix ETA calculation of resumed download (#21992) 5 years ago
Sergey M․ 3089bc748c
Fix W504 and disable W503 (closes #20863) 6 years ago
Sergey M․ 500a86a52e
[downloader/fragment] Restart download if .ytdl file is corrupt (closes #16312) 7 years ago
Sergey M․ 0ff2c1ecb6
[downloader/fragment] Fix download finalization when writing file to stdout (closes #15799) 7 years ago
Sergey M․ 99081da90c
[downloader/fragment] Encode filename of fragment being removed (closes #15020) 7 years ago
Sergey M․ 593f2f7989
[downloader/fragment] Commit part file after each fragment
In order to obtain correct resume_len on next iteration
7 years ago
Sergey M․ 6f3b4a98c9
[downloader/fragment] Report warning instead of error on inconsistent download state 7 years ago
Sergey M․ 5efaf43c93
[downloader/fragment] Output ad fragment count 7 years ago
Sergey M․ e7c3e33456
[downloader/fragment] Restart inconsistent incomplete fragment downloads (#13731) 7 years ago
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