aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/downloader/external.py
Commit message (Collapse)AuthorAgeFilesLines
* [cleanup] Misc fixespukkandan2023-07-221-1/+1
| | | | Closes #7528
* [fd/external] Fix ffmpeg input from stdin (#7655)bashonly2023-07-221-2/+3
| | | | | Bugfix for 1ceb657bdd254ad961489e5060f2ccc7d556b729 Authored by: bashonly
* [fd/external] Fixes to cookie handlingbashonly2023-07-151-4/+5
| | | | | | | | | - Fix bug in `axel` Cookie header arg - Pass cookies to `curl` as strings - Write session cookies for `aria2c` and `wget` Closes #7539 Authored by: bashonly
* [compat, networking] Deprecate old functions (#2861)coletdjnz2023-07-151-4/+3
| | | | Authored by: coletdjnz, pukkandan
* [fd/external] Scope cookiesbashonly2023-07-061-2/+39
| | | | | | | | | | | | - ffmpeg: Calculate cookies from cookiejar and pass with `-cookies` arg instead of `-headers` - aria2c, curl, wget: Write cookiejar to file and use external FD built-in cookiejar support - httpie: Calculate cookies from cookiejar instead of `http_headers` - axel: Calculate cookies from cookiejar and disable http redirection if cookies are passed - May break redirects, but axel simply don't have proper cookie support Ref: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-v8mc-9377-rwjj Authored by: bashonly, coletdjnz
* [downloader/aria2c] Add `--no-conf`pukkandan2023-06-261-1/+1
| | | | Closes #7404
* [core] Deprecate internal `Youtubedl-no-compression` header (#6876)coletdjnz2023-05-201-3/+1
| | | Authored by: coletdjnz
* [downloader/curl] Fix progress reportingpukkandan2023-03-091-1/+1
| | | | | Bug in 8c53322cda75394a8d551dde20b2529ee5ad6e89 Closes #6490
* [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