aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader
AgeCommit message (Collapse)Author
2023-09-24[downloader] Fix baa6c5e: show ETA of http download as ETA instead of total ↵dirkf
d/l time
2023-07-18[downloader/external] Fix cookie supportbashonly
2023-07-18[core] Process header cookies on loadingSimon Sawicki
2023-04-13[DashSegmentsFD] Correctly detect errors when `fragment_retries` == 0dirkf
* use the success flag instead of the retry count * establish the fragment_url outside the retry loop * only report skipping a fragment once. * resolves #32033
2023-04-05[FragmentFD] Fix iteration with infinite limitdirkf
* fixes ytdl-org/youtube-dl/baa6c5e * resolves #31885
2023-03-19[downloader/http] Only check for resumability when actually resumingdirkf
2023-03-14[FragmentFD] Respect `--no-continue`dirkf
* discard partial fragment on `--no-continue` * continue with correct progress display otherwise Resolves #21467
2023-03-14[downloader] Let _ffmpeg_ handle DASH segmentsdirkf
Fixes https://github.com/ytdl-org/youtube-dl/issues/31792 after 3da1783.
2023-02-13[feat]: Add support to external downloader aria2p (#31500)teddy171
* feat: add class Aria2pFD * feat: create call_downloader function * feat: a colorful download interface to aria2pFD * feat: change value name * Apply suggestions from code review Co-authored-by: dirkf <fieldhouse@gmx.net> * Typo in suggestion * fix: remove unused value * fix: add not function to return value(0 is normal); add total_seconds to download.eta(timedelta object); add waiting status when hook progress * fix: remove unuse method ..utils.format_bytes * fix: be up to flake8 * fix: be up to flake8 * Apply suggestions from code review * [feat] test external downloader aria2p * [feat] test external downloader aria2p * [fix] test_external_downloader.py * Apply suggestions from code review Co-authored-by: dirkf <fieldhouse@gmx.net> * Apply suggestions from code review Co-authored-by: dirkf <fieldhouse@gmx.net> * Update test/test_external_downloader.py Co-authored-by: dirkf <fieldhouse@gmx.net> * Update test/test_external_downloader.py Co-authored-by: dirkf <fieldhouse@gmx.net> * Update youtube_dl/downloader/external.py Co-authored-by: dirkf <fieldhouse@gmx.net> * refactoring code and fix bugs * Apply suggestions from code review * Rename test_external_downloader.py to test_downloader_external.py --------- Co-authored-by: dirkf <fieldhouse@gmx.net>
2022-06-10[utils, etc] Kill child processes when yt-dl is killedpukkandan
* derived from PR #26592, closes #26592 Authored by: Unrud
2022-03-25Ignore --external-downloader-args if --external-downloader was rejecteddirkf
... and generate warning
2022-02-05[niconico] Implement heartbeat for downloaddirkf
2021-01-05[downloader/hls] Disable decryption in tests (#27660)Kevin O'Connor
Tests truncate the download to 10241 bytes, which is not divisible by 16 and cannot be decrypted. Tests don't really care about the decrypted content, just that the data they retrieved is the expected data. Therefore, it's fine to just return the encrypted data to tests. See: #27621 and #27620
2020-12-13[downloader/hls] delegate manifests with media initialization to ffmpegRemita Amine
2020-11-24[downloader/fragment] Set final file's mtime according to last fragment's ↵Sergey M․
Last-Modified header (closes #11718, closes #18384, closes #27138)
2020-11-21[downloader/http] Fix crash during urlopen caused by missing reason of URLErrorSergey M․
2020-09-22[downloader/http] Properly handle missing message in SSLError (closes #26646)Sergey M․
2020-09-22[downloader/http] Fix access to not yet opened stream in retrySergey M․
2020-09-18[downloader/hls] Fix incorrect end byte in Range HTTP header for media ↵Stefan Pöschel
segments with EXT-X-BYTERANGE (#24512) (closes #14748) The end of the byte range is the first byte that is NOT part of the to be downloaded range. So don't include it into the requested HTTP download range, as this additional byte leads to a broken TS packet and subsequently to e.g. visible video corruption. Fixes #14748.
2020-09-18[downloader/http] Improve timeout detection when reading block of data (refs ↵Sergey M․
#10935)
2020-09-18[downloader/http] Retry download when urlopen times out (#26603) (refs #10935)Ori Avtalion
2020-05-05[downloader/http] Request last data block of exact remaining sizeSergey M․
Always request last data block of exact size remaining to download if possible not the current block size.
2020-05-05[downloader/http] Finish downloading once received data length matches expectedSergey M․
Always do this if possible, i.e. if Content-Length or expected length is known, not only in test. This will save unnecessary last extra loop trying to read 0 bytes.
2019-12-03[vzaar] override AES decryption key URL(closes #17521)Remita Amine
2019-09-01[downloader/external] Respect mtime option for aria2c (#22242)telephono
2019-08-11[downloader/fragment] Fix ETA calculation of resumed download (#21992)lightmare
2019-07-26Fix typos (#21901)Kitten King
2019-06-05[downloader/common] Improve rate limit (#21301)Sergey M․
2019-05-11Fix W504 and disable W503 (closes #20863)Sergey M․
2019-04-02[download/external] pass rtmp_conn to ffmpegRemita Amine
2019-03-11Start moving to ytdl-orgSergey M․
2019-02-23[downloader/external] Add support for rate limit and retries for wgetSergey M․
2019-02-23[downloader/external] Fix infinite retries for curl (closes #19303)Sergey M․
2019-01-13[downloader/hls] fix uplynk ad skipping(closes #18824)Remita Amine
2018-07-08[downloader/dash] Improve error handling (#16927)Sergey M․
2018-06-15[downloader/rtmp] Fix downloading in verbose mode (closes #16736)Sergey M․
2018-06-12[downloader/http] Fix resume when writing ot stdout (closes #16699)Sergey M․
2018-05-26[downloader/rtmp] Generalize download messages and report time elapsed on finishSergey M․
2018-05-26[downloader/rtmp] Gracefully handle live streams interrupted by userSergey M․
2018-05-19Remove experimental mark for some optionsSergey M․
2018-04-29[downloader/fragment] Restart download if .ytdl file is corrupt (closes #16312)Sergey M․
2018-03-24[downloader/external] Simplify finished progress hook reporting and add ↵Sergey M․
elapsed time (closes #10876)
2018-03-24[downloader/common] Improve progress reporting when no total bytes availableSergey M․
2018-03-24[downloader/external] Fix download finalization when writing file to stdout ↵John Hawkinson
(closes #10809) An OSError or IOError generally indicates something a little more wrong than a "simple" UnavailableVideoError, so print the actual traceback that leads to the exception. Otherwise meaningful postmortem debugging a bug report is essentially infeasible.
2018-03-24[downloader/fragment] Fix download finalization when writing file to stdout ↵Sergey M․
(closes #15799)
2018-03-03[downloader/hls] Skip uplynk ad fragments (closes #15748)Sergey M․
2018-02-17[downloader/common] Add whitespaceSergey M․
2018-02-04[downloader/http] Randomize HTTP chunk sizeSergey M․
2018-02-04[downloader/http] Add ability to pass downloader options via info dictSergey M․
2018-02-04[downloader/http] Fix 302 infinite loops by not reusing requestsSergey M․