aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/downloader/external.py
Commit message (Collapse)AuthorAgeFilesLines
* [downloader/hls] Allow extractors to provide AES key (#6158)bashonly2023-02-081-0/+1
| | | | | | | | and related cleanup Authored by: bashonly, Grub4K Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
* [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
* [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/external] Smarter detection of executablepukkandan2022-08-301-6/+4
| | | | Closes #4778
* Standardize retry mechanism (#1649)pukkandan2022-08-021-14/+8
| | | | | | | * [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
* [compat] Remove deprecated functions from core codepukkandan2022-06-251-1/+1
|
* [compat] Remove more functionspukkandan2022-06-251-3/+2
| | | | Removing any more will require changes to a large number of extractors
* [utils] `Popen`: Refactor to use contextmanagerpukkandan2022-06-161-37/+29
| | | | Fixes https://github.com/yt-dlp/yt-dlp/issues/3531#issuecomment-1156223597
* Add option `--download-sections` to download video partiallypukkandan2022-06-071-11/+10
| | | | Closes #52, Closes #3932
* [cleanup] Miscpukkandan2022-05-211-15/+19
|
* [compat] Add `functools.cached_property`pukkandan2022-05-201-1/+2
|
* Add option --retry-sleep (#3059)pukkandan2022-05-191-0/+1
| | | | Closes #2852
* [cleanup] Minor fixes (See desc)pukkandan2022-05-091-1/+1
| | | | | | | | | | * [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
* [cleanup] Misc fixespukkandan2022-04-291-1/+1
| | | | Closes #3565, https://github.com/yt-dlp/yt-dlp/issues/3514#issuecomment-1105944364
* Improve `--clean-infojson`pukkandan2022-04-281-2/+5
| | | | | It should not removes fields that may be needed for `--load-infojson`. Eg: `_ffmpeg_args`, `_has_drm`
* [downloader/ffmpeg] Specify headers for each URL (#3553)Elyse2022-04-261-6/+13
| | | | Closes #2696 Authored by: elyse0
* [cleanup] Sort importspukkandan2022-04-121-10/+7
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-121-13/+11
| | | | | | | | | | 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
* [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
* [downloader] Obey `--file-access-retries` when deleting/renaming (#2224)Emanuel Hoogeveen2022-03-031-2/+2
| | | Authored by: ehoogeveen-medweb
* [aria2c] Add `--http-accept-gzip=true`pukkandan2022-02-181-1/+1
| | | | Closes #1936, #1236
* [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
|
* Add option `--file-access-retries` (#2066)Emanuel Hoogeveen2021-12-231-4/+3
| | | | Closes #517 Authored by: ehoogeveen-medweb
* [downloader/ffmpeg] Fix for direct videos inside mpd manifestspukkandan2021-11-231-2/+1
| | | | Closes #1751
* [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
* Don't create console for subprocesses on Windows (#1261)pukkandan2021-10-201-11/+9
| | | Closes #1251
* [fragment] Print error message when skipping fragmentpukkandan2021-10-191-3/+3
|
* [eria2c] Fix --skip-unavailable fragmentpukkandan2021-10-131-44/+45
|
* [downloader/ffmpeg] Improve simultaneous download and mergepukkandan2021-10-131-0/+4
|
* [docs,cleanup] Add deprecation warning in docspukkandan2021-09-221-3/+0
| | | | | | for some counter intuitive behaviour that may be removed in future. and fix linter
* [fragment,aria2c] Generalize and refactor some codepukkandan2021-09-221-22/+5
|
* [aria2c] Fix IV for some AES-128 streamspukkandan2021-09-221-1/+2
| | | | Authored by: shirt
* [hls,aes] Fallback to native implementation for AES-CBCpukkandan2021-09-181-8/+2
| | | | | | | and detect `Cryptodome` in addition to `Crypto` Closes #935 Related: #938
* Fix `--compat-option no-direct-merge`pukkandan2021-09-121-1/+1
|
* [aria2c] Obey `--rate-limit`pukkandan2021-08-271-0/+1
|
* [downloader/ffmpeg] Support for DASH manifests (experimental)pukkandan2021-08-241-8/+7
| | | | Closes #159
* [downloader/ffmpeg] Allow passing custom arguments before -ipukkandan2021-08-241-10/+10
| | | | Closes #686
* [nbcolympics:stream] Fix extractornikhil2021-08-041-0/+3
| | | | | | | | | | | | PR: https://github.com/ytdl-org/youtube-dl/pull/29688 Closes: #617, https://github.com/ytdl-org/youtube-dl/issues/29665 * Livestreams are untested * If using ffmpeg as downloader, v4.3+ is needed since `-http_seekable` option is necessary * Instead of making a seperate key for each arg that needs to be passed to ffmpeg, I made `_ffmpeg_args` * This deprecates `_seekable`, but the option is kept for compatibility Authored by: nchilada, pukkandan
* [ffmpeg] Fix streaming `mp4` to `stdout`pukkandan2021-08-031-1/+4
|
* [downloader] Allow streaming unmerged formats to stdout using ffmpegpukkandan2021-08-011-1/+5
| | | | | | | | | For this to work: 1. The downloader must be ffmpeg 2. The selected formats must have the same protocol 3. The formats must be downloadable by ffmpeg to stdout Partial solution for: https://github.com/ytdl-org/youtube-dl/issues/28146, https://github.com/ytdl-org/youtube-dl/issues/27265
* [cleanup] Refactor some codepukkandan2021-08-011-0/+10
|
* [downloader] Pass `info_dict` to `progress_hook`spukkandan2021-07-221-1/+1
|
* [downloader/ffmpeg] Fix `--ppa` when using simultaneous downloadpukkandan2021-07-021-3/+2
|
* [websockets] Add `WebSocketFragmentFD` (#399)pukkandan2021-06-211-1/+7
| | | | | | Necessary for #392 Co-authored by: nao20010128nao, pukkandan