aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/downloader
Commit message (Collapse)AuthorAgeFilesLines
* update from upstreamJesus2023-09-0410-164/+424
|\
| * [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
| * [core] Fix HTTP headers and cookie handlingbashonly2023-07-151-6/+0
| | | | | | | | | | | | | | | | | | | | - Remove `Cookie` header from `http_headers` immediately after loading into cookiejar - Restore compat for `--load-info-json` cookies - Add more tests - Fix improper passing of Cookie header by `MailRu` extractor Closes #7558 Authored by: bashonly, pukkandan
| * [compat, networking] Deprecate old functions (#2861)coletdjnz2023-07-158-57/+45
| | | | | | | | Authored by: coletdjnz, pukkandan
| * [networking] Rewrite architecture (#2861)coletdjnz2023-07-151-19/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New networking interface consists of a `RequestDirector` that directs each `Request` to appropriate `RequestHandler` and returns the `Response` or raises `RequestError`. The handlers define adapters to transform its internal Request/Response/Errors to our interfaces. User-facing changes: - Fix issues with per request proxies on redirects for urllib - Support for `ALL_PROXY` environment variable for proxy setting - Support for `socks5h` proxy - Closes https://github.com/yt-dlp/yt-dlp/issues/6325, https://github.com/ytdl-org/youtube-dl/issues/22618, https://github.com/ytdl-org/youtube-dl/pull/28093 - Raise error when using `https` proxy instead of silently converting it to `http` Authored by: coletdjnz
| * [core] Change how `Cookie` headers are handledSimon Sawicki2023-07-061-1/+6
| | | | | | | | | | | | | | | | | | | | Cookies are now saved and loaded under `cookies` key in the info dict instead of `http_headers.Cookie`. Cookies passed in headers are auto-scoped to the input URLs with a warning. Ref: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-v8mc-9377-rwjj Authored by: Grub4K
| * [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
| * [core] Allow extractors to mark formats as potentially DRM (#7396)pukkandan2023-07-061-10/+20
| | | | | | | | | | | | | | | | This is useful for HLS where detecting whether the format is actually DRM requires the child manifest to be downloaded. Makes the error message when using `--test` inconsistent, but doesn't really matter.
| * [cleanup] Miscpukkandan2023-07-062-4/+3
| |
| * [downloader/http] Avoid infinite loop when no data is receivedpukkandan2023-07-061-5/+5
| | | | | | | | Closes #7504
| * [downloader/aria2c] Add `--no-conf`pukkandan2023-06-261-1/+1
| | | | | | | | Closes #7404
| * [cleanup] Miscpukkandan2023-06-212-3/+2
| | | | | | | | | | Closes #6288, Closes #7197, Closes #7265, Closes #7353, Closes #5773 Authored by: mikf, freezboltz, pukkandan
| * [downloader/fragment] Do not sleep between fragmentspukkandan2023-06-211-0/+3
| | | | | | | | Closes #6599
| * [extractor/niconico:live] Add extractor (#5764)Lesmiscore2023-05-292-2/+102
| | | | | | Authored by: Lesmiscore
| * Bugfixes for 4823ec9f461512daa1b8ab362893bb86a6320b26Simon Sawicki2023-05-251-2/+2
| | | | | | | | | | | | Hotfix for fragmented downloads Authored by: bashonly
| * [core] Implement `--color` flag (#6904)Simon Sawicki2023-05-241-1/+2
| | | | | | Authored by: Grub4K
| * Update to ytdl-commit-d1c6c5pukkandan2023-05-243-21/+39
| | | | | | | | | | | | | | | | | | | | | | [YouTube] [core] Improve platform debug log, based on yt-dlp https://github.com/ytdl-org/youtube-dl/commit/d1c6c5c4d618fa950813c0c71aede34a5ac851e9 Except: * 6ed34338285f722d0da312ce0af3a15a077a3e2a [jsinterp] Add short-cut evaluation for common expression * There was no performance improvement when tested with https://github.com/ytdl-org/youtube-dl/issues/30641 * e8de54bce50f6f77a4d7e8e80675f7003d5bf630 [core] Handle `/../` sequences in HTTP URLs * We plan to implement this differently
| * [devscripts/cli_to_api] Add scriptpukkandan2023-05-242-5/+6
| |
| * [core] Deprecate internal `Youtubedl-no-compression` header (#6876)coletdjnz2023-05-202-5/+3
| | | | | | Authored by: coletdjnz
| * [downloader/curl] Fix progress reportingpukkandan2023-03-091-1/+1
| | | | | | | | | | Bug in 8c53322cda75394a8d551dde20b2529ee5ad6e89 Closes #6490
| * [cleanup] Miscpukkandan2023-02-281-1/+1
| |
| * [extractor/youtube] Fix 5038f6d713303e0967d002216e7a88652401c22apukkandan2023-02-281-1/+2
| | | | | | | | | | | | | | * [fragment] Fix `request_data` * [youtube] Don't use POST for now. It may be easier to break in future Authored by: bashonly, coletdjnz
| * [dependencies] Simplify `Cryptodome`pukkandan2023-02-281-1/+1
| | | | | | | | Closes #6292, closes #6272, closes #6338
| * [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
| |
* | update from upstream 2022-12-01 UTC+8Jesús2022-12-0112-212/+190
|\|
| * [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
| |