aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/downloader
Commit message (Collapse)AuthorAgeFilesLines
...
* [downloader/fragment] Make single thread download work for --live-from-start ↵Lesmiscore (Naoya Ozaki)2022-04-161-2/+7
| | | | | (#3446) Authored by: Lesmiscore
* Fix `--skip-unavailable-fragments`pukkandan2022-04-151-0/+2
| | | | | Bug in d71fd412495af9ebccef807379859a0baa97ddee Closes #3437
* Do not change fragment chunk-size when `--test`pukkandan2022-04-151-1/+1
| | | | Closes #3434
* [cleanup] Sort importspukkandan2022-04-1214-90/+46
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-1215-57/+25
| | | | | | | | | | Using https://github.com/asottile/pyupgrade 1. `__future__` imports and `coding: utf-8` were removed 2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format` 3. f-strings were cherry-picked from `pyupgrade --py36-plus` Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
* [cleanup] Mark some compat variables for removal (#2173)pukkandan2022-04-121-11/+11
| | | | Authored by fstirlitz, pukkandan
* Do not prevent download if locking is unsupportedpukkandan2022-04-051-1/+5
| | | | | | | Closes #3022 Failure to lock download-archive is still fatal. This is consistent with youtube-dl's behavior
* [http] Fix #3215pukkandan2022-04-051-1/+2
|
* [cleanup] Misc fixespukkandan2022-04-052-28/+16
| | | | | | Closes https://github.com/yt-dlp/yt-dlp/pull/3213, Closes https://github.com/yt-dlp/yt-dlp/pull/3117 Related: https://github.com/yt-dlp/yt-dlp/issues/3146#issuecomment-1077323114, https://github.com/yt-dlp/yt-dlp/pull/3277#discussion_r841019671, https://github.com/yt-dlp/yt-dlp/commit/a825ffbffa0bea322e3ccb44c6f8e01d8d9572fb#commitcomment-68538986, https://github.com/yt-dlp/yt-dlp/issues/2360, https://github.com/yt-dlp/yt-dlp/commit/5fa3c9a88f597625296981a4a26be723e65d4842#r70393519, https://github.com/yt-dlp/yt-dlp/commit/5fa3c9a88f597625296981a4a26be723e65d4842#r70393254
* [utils] Add `try_call`pukkandan2022-03-311-3/+3
|
* [downloader] Fix invocation of `HttpieFD`pukkandan2022-03-251-15/+21
| | | | Closes #3154
* Remove `Accept-Encoding` header from `std_headers` (#3153)coletdev2022-03-231-2/+2
| | | | | This should be set by each downloader to what it supports. Fixes https://github.com/yt-dlp/yt-dlp/issues/3142 Authored-by: coletdjnz
* [wget] Fix proxy (#3152)coletdev2022-03-221-1/+4
| | | | Upstream PR: https://github.com/ytdl-org/youtube-dl/pull/29343 Authored-by: kikuyan, coletdjnz
* [http] Reject broken range before request (#3079)Lesmiscore (Naoya Ozaki)2022-03-181-9/+16
| | | | | | * And fix filesize estimate for byterange downloads Closes #2001 Authored by: Lesmiscore, Jules-A, pukkandan
* [downloader/http] Retry on more errors (#3065)coletdev2022-03-181-26/+14
| | | | | Closes #3056, #2071 Related: #3034, #2969 Authored-by: coletdjnz
* [fragment] Read downloaded fragments only when needed (#3069)Lesmiscore (Naoya Ozaki)2022-03-154-30/+29
| | | Authored by: Lesmiscore
* [downloader/mhtml] Fix fragments with absolute urls (#3044)coletdev2022-03-131-1/+5
| | | Authored-by: coletdjnz
* [cleanup] Minor cleanuppukkandan2022-03-111-1/+1
| | | | Closes #3006
* Protect stdout from unexpected progress and console-titlepukkandan2022-03-111-3/+3
| | | | Closes #3023
* [cleanup, docs] Misc cleanuppukkandan2022-03-081-0/+3
| | | | Closes #2828, closes #2734, closes #2802, closes #2937
* [downloader] Obey `--file-access-retries` when deleting/renaming (#2224)Emanuel Hoogeveen2022-03-033-21/+34
| | | Authored by: ehoogeveen-medweb
* [downloader/fragment] Fix bugs around resuming with Range (#2901)Lesmiscore (Naoya Ozaki)2022-02-282-19/+31
| | | Authored by: Lesmiscore
* [downloader/fragment] Ignore `FileNotFoundError` when downloading livestreamsLesmiscore2022-02-261-1/+6
| | | | | | when `--live-from-start` is used for YouTube and the live ends, request for the last segment prematurely ends (or 404, 403). this is causing lack of the file and `FileNotFoundError` lacking segment doesn't have any data, so it's safe to ignore
* [downloader/fragment] Fix problem where multiple threads can share one iteratorLesmiscore2022-02-251-8/+7
| | | | | | which causes "ValueError: generator already executing" error Closes #2881
* [fc2:live] Add extractor (#2418)Lesmiscore (Naoya Ozaki)2022-02-252-0/+43
| | | Authored by: Lesmiscore
* [downloader/fragment] Improve `--live-from-start` for YouTube livestreams ↵Lesmiscore (Naoya Ozaki)2022-02-251-10/+30
| | | | (#2870)
* [aria2c] Add `--http-accept-gzip=true`pukkandan2022-02-181-1/+1
| | | | Closes #1936, #1236
* [downloader] Do not use aria2c for non-native `m3u8`pukkandan2022-02-111-1/+1
| | | | Closes #2718
* [websocket] Make syntax error in `websockets` module non-fatalpukkandan2022-02-041-2/+5
| | | | Closes #2633
* [aes] Add unpad_pkcs7pukkandan2022-02-011-3/+2
|
* [downloader/ffmpeg] Handle unknown formats betterpukkandan2022-01-241-0/+11
|
* [httpie] Fix `available` methodpukkandan2022-01-131-1/+1
| | | | Closes #2330
* [aria2c] Don't show progress when `--no-progress`pukkandan2021-12-271-0/+1
|
* [youtube] End `live-from-start` properly when stream ends with 403pukkandan2021-12-261-0/+2
| | | | Closes #2089
* Add option `--file-access-retries` (#2066)Emanuel Hoogeveen2021-12-234-11/+26
| | | | Closes #517 Authored by: ehoogeveen-medweb
* [cleanup] Misc cleanuppukkandan2021-12-231-0/+1
| | | | Closes #1942 #1976 #2020 #2058 #1984
* [dash] Fix `--test`pukkandan2021-12-231-1/+1
| | | | Bug in adbc4ec4bbfbe57842049cf9194384480f534859
* [dash] Fix aria2c dash downloadspukkandan2021-12-211-1/+1
| | | | Bug in adbc4ec4bbfbe57842049cf9194384480f534859
* [dash,youtube] Download live from start to end (#888)The Hatsune Daishi2021-12-204-38/+91
| | | | | | | | | | | | | | | * Add option `--live-from-start` to enable downloading live videos from start * Add key `is_from_start` in formats to identify formats (of live videos) that downloads from start * [dash] Create protocol `http_dash_segments_generator` that allows a function to be passed instead of fragments * [fragment] Allow multiple live dash formats to download simultaneously * [youtube] Implement fragment re-fetching for the live dash formats * [youtube] Re-extract dash manifest every 5 hours (manifest expires in 6hrs) * [postprocessor/ffmpeg] Add `FFmpegFixupDuplicateMoovPP` to fixup duplicated moov atoms Known issue: Ctrl+C doesn't work on Windows when downloading multiple formats Closes #1521 Authored by: nao20010128nao, pukkandan
* [cleanup] Misc cleanuppukkandan2021-11-292-3/+6
| | | | Closes #1805, closes #1800
* [downloader] Add colors to download progresspukkandan2021-11-291-4/+24
|
* [downloader/ffmpeg] Fix for direct videos inside mpd manifestspukkandan2021-11-231-2/+1
| | | | Closes #1751
* Fix `--check-formats` for `mhtml`pukkandan2021-11-201-2/+2
| | | | Closes #1709
* [hls] Better FairPlay DRM detection (#1661)nyuszika7h2021-11-191-0/+9
| | | Authored by: nyuszika7h
* [docs] Minor documentation improvementspukkandan2021-11-101-0/+1
| | | | Closes #1583, #1599
* [cleanup] Minor cleanuppukkandan2021-11-041-1/+3
|
* [ffmpeg] Detect libavformat version for `aac_adtstoasc`pukkandan2021-11-041-2/+1
| | | | | and print available features in verbose head Based on https://github.com/ytdl-org/youtube-dl/pull/29581
* [fragment] Fix progress display in fragmented downloadspukkandan2021-11-032-3/+13
| | | | Closes #1517
* [cleanup] miscpukkandan2021-10-231-1/+2
|
* Don't create console for subprocesses on Windows (#1261)pukkandan2021-10-202-12/+11
| | | Closes #1251