aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/YoutubeDL.py
Commit message (Collapse)AuthorAgeFilesLines
* update from upstreamJesus2023-09-041-330/+578
|\
| * [networking] Add request handler preference framework (#7603)coletdjnz2023-08-041-3/+4
| | | | | | | | | | | | Preference functions that take a request and a request handler instance can be registered to prioritize different request handlers per request. Authored by: coletdjnz Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
| * `FFmpegFixupM3u8PP` may need to run with ffmpegpukkandan2023-07-301-2/+3
| | | | | | | | | | Bug in 62b5c94cadaa5f596dc1a7083db9db12efe357be Closes #7725
| * [cleanup] Miscpukkandan2023-07-301-8/+6
| |
| * Fix `--check-formats`pukkandan2023-07-301-4/+4
| | | | | | | | Bug in bc344cd456380999c1ee74554dfd432a38f32ec7
| * [cleanup] Misc fixespukkandan2023-07-221-6/+7
| | | | | | | | Closes #7528
| * [outtmpl] Fix replacement for `playlist_index`pukkandan2023-07-221-4/+4
| |
| * [networking] Fix `--legacy-server-connect` (#7645)bashonly2023-07-201-1/+1
| | | | | | | | | | Bugfix for 227bf1a33be7b89cd7d44ad046844c4ccba104f4 Authored by: bashonly
| * [core] Fix HTTP headers and cookie handlingbashonly2023-07-151-14/+32
| | | | | | | | | | | | | | | | | | | | - 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
| * [cleanup] Add color to `download-archive` message (#5138)Aaruni Kaushik2023-07-161-2/+6
| | | | | | | | Authored by: aaruni96, Grub4K, pukkandan Closes #4913
| * [compat, networking] Deprecate old functions (#2861)coletdjnz2023-07-151-5/+7
| | | | | | | | Authored by: coletdjnz, pukkandan
| * [networking] Rewrite architecture (#2861)coletdjnz2023-07-151-65/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * [networking] Add module (#2861)pukkandan2023-07-151-20/+20
| | | | | | | | No actual changes - code is only moved around
| * [core] Change how `Cookie` headers are handledSimon Sawicki2023-07-061-3/+77
| | | | | | | | | | | | | | | | | | | | 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
| * [core] Allow extractors to mark formats as potentially DRM (#7396)pukkandan2023-07-061-15/+22
| | | | | | | | | | | | | | | | 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.
| * [formats] Fix best fallback for storyboardspukkandan2023-07-061-5/+2
| | | | | | | | Partial fix for #7478
| * [cleanup] Miscpukkandan2023-07-061-1/+1
| |
| * [outtmpl] Pad `playlist_index` etc even when with internal formattingpukkandan2023-07-061-7/+6
| | | | | | | | Closes #7501
| * Improve `--download-sections`pukkandan2023-06-221-2/+4
| | | | | | | | | | | | | | * Support negative time-ranges * Add `*from-url` to obey time-ranges in URL Closes #7248
| * Indicate `filesize` approximated from `tbr` betterpukkandan2023-06-221-3/+7
| |
| * Bugfix for ebe1b4e34f43c3acad30e4bcb8484681a030c114pukkandan2023-06-211-4/+6
| |
| * [core] Fix `filepath` being copied to underlying format dictpukkandan2023-06-211-0/+2
| | | | | | | | Closes #6536
| * [cleanup] Miscpukkandan2023-06-211-9/+11
| | | | | | | | | | Closes #6288, Closes #7197, Closes #7265, Closes #7353, Closes #5773 Authored by: mikf, freezboltz, pukkandan
| * Add option `--netrc-cmd` (#6682)Nicolai Dagestad2023-06-211-0/+1
| | | | | | | | Authored by: NDagestad, pukkandan Closes #1706
| * [outtmpl] Fix some minor bugspukkandan2023-06-211-5/+5
| | | | | | | | Closes #7164
| * Add `--compat-option playlist-match-filter`pukkandan2023-06-211-1/+1
| | | | | | | | Closes #6073
| * Auto-select default format in `-f-` (#7101)Ivan Skodje2023-05-291-8/+9
| | | | | | | | Authored by: ivanskodje, pukkandan Closes #6720
| * [core] Workaround erroneous urllib Windows proxy parsing (#7092)coletdjnz2023-05-271-1/+1
| | | | | | | | | | | | Convert proxies extracted from windows registry to http for older Python versions. See: https://github.com/python/cpython/issues/86793 Authored by: coletdjnz
| * [cookies] Move `YoutubeDLCookieJar` to cookies module (#7091)coletdjnz2023-05-271-4/+3
| | | | | | Authored by: coletdjnz
| * [core] Implement `--color` flag (#6904)Simon Sawicki2023-05-241-5/+31
| | | | | | Authored by: Grub4K
| * [devscripts/cli_to_api] Add scriptpukkandan2023-05-241-4/+4
| |
| * [core] Deprecate internal `Youtubedl-no-compression` header (#6876)coletdjnz2023-05-201-1/+3
| | | | | | Authored by: coletdjnz
| * [cleanup, utils] Split into submodules (#7090)coletdjnz2023-05-201-2/+0
| | | | | | | | | | | | Closes https://github.com/yt-dlp/yt-dlp/pull/2173 Authored by: pukkandan, coletdjnz Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
| * [cleanup] Miscpukkandan2023-05-201-32/+33
| | | | | | | | Closes #7030, closes #6967
| * [docs] Misc improvementspukkandan2023-05-201-2/+3
| | | | | | | | Closes #6814, closes #6940, closes #6733, closes #6923, closes #6566, closes #6726, closes #6728
| * Fix f005a35aa7e4f67a0c603a946c0dd714c151b2d6pukkandan2023-04-291-7/+5
| | | | | | | | | | | | | | | | | | | | Printing inside `finally` causes the order of logging to change when there is an error, which is undesirable. So this is reverted. The issue of `--print` being blocked by pre-processors was an unintentional side-effect of changing the operation orders in 170605840ea9d5ad75da6576485ea7d125b428ee, and this is also partially reverted.
| * Ensure pre-processor errors do not block `--print`pukkandan2023-04-291-4/+6
| | | | | | | | Closes #6937
| * Fix bug in 170605840ea9d5ad75da6576485ea7d125b428eepukkandan2023-04-271-24/+18
| | | | | | | | and related refactor
| * Populate `filename` and `urls` fields at all stages of `--print`pukkandan2023-04-271-15/+17
| | | | | | | | Closes https://github.com/yt-dlp/yt-dlp/issues/6920
| * [outtmpl] Support `str.format` syntax inside replacementspukkandan2023-04-241-2/+16
| | | | | | | | Closes #6843
| * [outtmpl] Allow `\n` in replacements and default.pukkandan2023-04-241-1/+1
| | | | | | | | | | Fixes: https://github.com/yt-dlp/yt-dlp/issues/6808#issuecomment-1510055357 Fixes: https://github.com/yt-dlp/yt-dlp/issues/6808#issuecomment-1510363645
| * Do not translate newlines in `--print-to-file`pukkandan2023-04-161-2/+2
| | | | | | | | Fixes https://github.com/yt-dlp/yt-dlp/issues/6808#issuecomment-1509361107
| * Relaxed validation for numeric format filterspukkandan2023-04-121-1/+1
| | | | | | | | | | | | Continued from f96bff99cb2cf1d112b099e5149dd2c3a6a76af2 Closes #6782
| * [postprocessor/FixupDuplicateMoov] Fix bug in triggeringpukkandan2023-04-111-1/+1
| |
| * Support loading info.json with a list at it's rootpukkandan2023-03-101-11/+12
| |
| * [cleanup] Miscpukkandan2023-03-051-1/+1
| |
| * Add option `--break-match-filters`pukkandan2023-03-041-17/+33
| | | | | | | | | | | | * Deprecates `--break-on-reject` Closes #5962
| * [build] Automated builds and nightly releases (#6220)Simon Sawicki2023-03-031-3/+3
| | | | | | | | | | | | | | Closes #1839 Authored by: Grub4K, bashonly Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
| * [cleanup] Miscpukkandan2023-02-281-1/+1
| |
| * [cleanup] Miscpukkandan2023-02-171-1/+3
| | | | | | | | Closes #5897