aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/downloader
Commit message (Collapse)AuthorAgeFilesLines
* [utils] Don't use Content-length with encoding (#6176)Felix Yan2023-02-171-1/+6
| | | | Authored by: felixonmars Closes #3772, #6178
* [utils] `traverse_obj`: Fix more bugsSimon Sawicki2023-02-101-1/+1
| | | | | | and cleanup uses of `default=[]` Continued from b1bde57bef878478e3503ab07190fd207914ade9
* [downloader/hls] Allow extractors to provide AES key (#6158)bashonly2023-02-083-18/+31
| | | | | | | | and related cleanup Authored by: bashonly, Grub4K Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
* [dependencies] Standardize `Cryptodome` importspukkandan2023-02-081-2/+2
|
* [downloader/aria2c] Disable native progresspukkandan2023-01-031-1/+2
| | | | Closes #5931, closes #5928, Re-opens #2038
* [downloader/aria2c] Native progress for aria2c via RPC (#3724)Lesmiscore2023-01-021-4/+105
| | | | | Authored by: Lesmiscore, pukkandan Closes #2038
* [downloader/ffmpeg] Fix headers for video+audio formats (#5659)bashonly2022-12-091-18/+13
| | | Authored by: bashonly, Grub4K
* [cleanup] Miscpukkandan2022-12-031-1/+4
|
* [extractor/generic] Add `fragment_query` extractor arg for DASH and HLS (#5528)bashonly2022-11-211-3/+11
| | | | | * `fragment_query`: passthrough any query in generic mpd/m3u8 manifest URLs to their fragments * Add support for `extra_param_to_segment_url` to DASH downloader Authored by: bashonly, pukkandan
* [utils] Move `FileDownloader.parse_bytes` into utilspukkandan2022-11-171-7/+2
|
* [cleanup Miscpukkandan2022-10-181-5/+5
| | | | Closes #5162
* [downloader/fragment] HLS download can continue without first fragmentpukkandan2022-10-186-34/+30
| | | | Closes #5274
* [cleanup] Minor fixespukkandan2022-10-041-8/+11
| | | | Closes #5129, Closes #4982
* [downloader/aria2c] Fix filename containing leading whitespace (#5099)std-move2022-10-011-6/+8
| | | | Similar to eb55bad5a0c1af9388301ffbf17845ee53a41635, but for fragmented downloads Authored by: std-move
* [downloader/ism] Support ec-3 codec (#5004)nixxo2022-09-301-0/+2
| | | | Closes #296 Authored by: nixxo
* [cleanup] Miscpukkandan2022-09-101-1/+1
|
* [utils] Add `deprecation_warning`pukkandan2022-08-302-2/+3
| | | | See https://github.com/yt-dlp/yt-dlp/pull/2173#issuecomment-1097021515
* [downloader/external] Smarter detection of executablepukkandan2022-08-301-6/+4
| | | | Closes #4778
* [docs] Consistent use of `e.g.` (#4643)Lesmiscore2022-08-141-1/+1
| | | Authored by: Lesmiscore
* Standardize retry mechanism (#1649)pukkandan2022-08-026-126/+95
| | | | | | | * [utils] Create `RetryManager` * Migrate all retries to use the manager * [extractor] Add wrapper methods for convenience * Standardize console messages for retries * Add `--retry-sleep` for extractors
* [downloader] Add average speed to final progress linepukkandan2022-07-311-0/+4
| | | | Fixes: https://github.com/ytdl-org/youtube-dl/issues/31122
* [mhtml, cleanup] Use imghdrpukkandan2022-07-311-9/+2
|
* Remove Python 3.6 supportpukkandan2022-07-181-1/+1
| | | | Closes #3764
* [cleanup] Minor fixespukkandan2022-07-111-2/+1
|
* [http] Ensure the file handle is always closedpukkandan2022-07-111-6/+12
| | | | Closes #4323
* [cleanup] Misc cleanuppukkandan2022-06-292-4/+6
|
* [hls] Warn user when trying to download live HLSpukkandan2022-06-261-3/+9
| | | | We do not automatically switch to ffmpeg because the detection is not 100% accurate
* [compat] Remove deprecated functions from core codepukkandan2022-06-254-19/+15
|
* [cleanup] Consistent style for file headspukkandan2022-06-251-1/+1
|
* [compat] Remove more functionspukkandan2022-06-256-24/+25
| | | | Removing any more will require changes to a large number of extractors
* [cleanup] Misc fixespukkandan2022-06-222-2/+2
|
* [f4m] Bugfixpukkandan2022-06-211-1/+2
|
* [utils] `Popen`: Refactor to use contextmanagerpukkandan2022-06-162-39/+30
| | | | Fixes https://github.com/yt-dlp/yt-dlp/issues/3531#issuecomment-1156223597
* [cleanup] Misc fixes (see desc)pukkandan2022-06-121-1/+1
| | | | | | | | | | | | | | * [tvver] Fix bug in 6837633a4a614920b6e43ffc6b4b8590dca8c9d7 - Closes #4054 * [rumble] Fix tests - Closes #3976 * [make] Remove `cat` abuse - Closes #3989 * [make] Revert #3684 - Closes #3814 * [utils] Improve `get_elements_by_class` - Closes #3993 * [utils] Inherit `Namespace` from `types.SimpleNamespace` * [utils] Use `re.fullmatch` for matching filters * [jsinterp] Handle quotes in `_separate` * [make_readme] Allow overshooting last line Authored by: pukkandan, kwconder, MrRawes, Lesmiscore
* [dash] Show fragment count with `--live-from-start` (#3493)MMM2022-06-072-0/+5
| | | Authored by: flashdagger
* Add option `--download-sections` to download video partiallypukkandan2022-06-072-13/+12
| | | | Closes #52, Closes #3932
* [cleanup] Misc fixespukkandan2022-06-031-6/+14
| | | | | | Cherry-picks from: #3498, #3947 Related: #3949, https://github.com/yt-dlp/yt-dlp/issues/1839#issuecomment-1140313836 Authored by: pukkandan, flashdagger, gamer191
* Do not print progress to `stderr` with `-q`pukkandan2022-06-011-2/+2
| | | | | | | | It is arguable how this "should" behave, but since progress is always written to stdout in older yt-dl/p, we should keep it as-is Bug in cf4f42cb9776eaa3166d2d234c3ec7651f05d7a9 Closes #3844
* [cleanup] Misc fixes and cleanuppukkandan2022-05-271-2/+1
| | | | Closes #3780, Closes #3853, Closes #3850
* [downloader, cleanup] Refactor `report_progress`pukkandan2022-05-221-65/+48
| | | | Closes #3790
* [cleanup] Miscpukkandan2022-05-217-31/+35
|
* Bugfix for 3a408f9d199127ca2626359e21a866a09ab236b3pukkandan2022-05-201-4/+4
|
* [compat] Add `functools.cached_property`pukkandan2022-05-202-2/+4
|
* Bugfix for 23326151c45b632c3d5948bd018e80abb370e676pukkandan2022-05-202-15/+8
|
* Add option --retry-sleep (#3059)pukkandan2022-05-193-6/+18
| | | | Closes #2852
* Bugfix for 591bb9d3553a4d7b453777c1e28e0948741e3b50pukkandan2022-05-171-1/+1
| | | | Closes #3769
* Fix color in `-q -F`pukkandan2022-05-171-3/+3
| | | | | | and convert `ydl._out_files`/`ydl._allow_colors` to `Namespace` Closes #3761
* [http] Fix bug in retrying on read timeout in py < 3.10coletdjnz2022-05-171-1/+8
| | | | | | socket.timeout is not an alias of TimeoutError in py < 3.10 Fixes bug in https://github.com/yt-dlp/yt-dlp/commit/a2e77303e3385da640a0904cd6cb76235fa9691b Authored-by: coletdjnz
* Show name of downloader in verbose logpukkandan2022-05-116-10/+4
| | | | Closes #3703
* [cleanup] Minor fixes (See desc)pukkandan2022-05-099-15/+15
| | | | | | | | | | * [youtube] Fix `--youtube-skip-dash-manifest` * [build] Use `$()` in `Makefile`. Closes #3684 * Fix bug in 385ffb467b2285e85a2a5495b90314ba1f8e0700 * Fix bug in 43d7f5a5d0c77556156a3f8caa6976d3908a1e38 * [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode` * [utils] LazyList: Expose unnecessarily "protected" attributes and other minor cleanup