aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2024-07-29[utils] `unified_timestamp`: Recognize Sunday (#10589)bashonly
Authored by: bashonly
2024-07-23[ie/youtube] Fix `n` function name extraction for player `3400486c` (#10542)bashonly
Authored by: bashonly
2024-07-14[utils] `parse_codecs`: Fix parsing of mixed case codec stringsbashonly
Authored by: bashonly
2024-07-14[networking] Add `legacy_ssl` request extension (#10448)coletdjnz
Supported by Urllib, Requests and Websockets request handlers. Ignored by CurlCFFI. Also added couple cookie-related tests. Authored by: coletdjnz
2024-07-09[rh:curl_cffi] Support `curl_cffi` 0.7.Xcoletdjnz
Authored by: coletdjnz
2024-07-09[core] Do not alter default format selection when simulated (#9862)sepro
Closes #9843 Authored by: seproDev
2024-07-08[ie/youtube] Fix JS `n` function name extraction (#10390)bashonly
Fixes nsig decoding for player b22ef6e7 Closes #10391 Authored by: bashonly, seproDev Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
2024-07-08[jsinterp] Implement `Function.prototype` resolving for `call` and `apply` ↵Simon Sawicki
(#10392) Authored by: Grub4K
2024-07-02[core] Disallow unsafe extensions (CVE-2024-38519)Simon Sawicki
Ref: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-79w7-vh3h-8g4j Authored by: Grub4K
2024-07-01[cleanup] Misc (#10075)bashonly
Closes #10303 Authored by: bashonly, seproDev, jucor, c-basalt Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com> Co-authored-by: Julien Cornebise <julien@cornebise.com> Co-authored-by: c-basalt <117849907+c-basalt@users.noreply.github.com>
2024-06-28[test:download] Raise on network errors (#10283)bashonly
Authored by: bashonly, seproDev Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
2024-06-22[cookies] Fix `--cookies-from-browser` DE detection on Linux (#10237)Peisen Wang
Align with chromium source by parsing every part of `XDG_CURRENT_DESKTOP` Authored by: peisenwang
2024-06-12[cleanup] Add more ruff rules (#10149)sepro
Authored by: seproDev Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com> Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
2024-05-26[misc] Cleanup (#9765)Simon Sawicki
Closes #9763 Authored by: bashonly, seproDev, Grub4K Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com> Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
2024-05-26[ie/youtube] Extract upload timestamp if available (#9856)coletdjnz
Closes #4962, Closes #9829 Authored by: coletdjnz
2024-05-26[misc] Add `hatch`, `ruff`, `pre-commit` and improve dev docs (#7409)Simon Sawicki
Authored by: bashonly, seproDev, Grub4K Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com> Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
2024-05-18[test] Fix connect timeout test (#9906)coletdjnz
Fixes https://github.com/yt-dlp/yt-dlp/issues/9659 Authored by: coletdjnz
2024-05-11[test] Add HTTP proxy tests (#9578)coletdjnz
Also fixes HTTPS proxies for curl_cffi Authored by: coletdjnz
2024-05-04[networking] Add `extensions` attribute to `Response` (#9756)bashonly
CurlCFFIRH now provides an `impersonate` field in its responses' extensions Authored by: bashonly
2024-04-28[core/windows] Fix tests for `sys.executable` with spaces (Fix for ↵Simon Sawicki
64766459e37451b665c1464073c28361fbcf1c25) Authored by: Grub4K
2024-04-27[core/windows] Improve shell quoting and tests (#9802)Simon Sawicki
Authored by: Grub4K
2024-04-21[ie] Make `_search_nextjs_data` non fatal (#8937)Simon Sawicki
Authored by: Grub4K
2024-04-09[core] Prevent RCE when using `--exec` with `%q` (CVE-2024-22423)Simon Sawicki
The shell escape function now properly escapes `%`, `\\` and `\n`. `utils.Popen` as well as `%q` output template expansion have been patched accordingly. Prior to this fix using `--exec` together with `%q` when on Windows could cause remote code to execute. See https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-hjq6-52gw-2g7p for more details. Authored by: Grub4K
2024-04-09[cleanup] Misc (#9426)bashonly
Authored by: bashonly, pukkandan
2024-04-01[utils] `traverse_obj`: Convenience improvements (#9577)Simon Sawicki
Add support for: - `http.cookies.Morsel` - Multi type filters (`{type, type}`) Authored by: Grub4K
2024-04-01[cleanup] Standardize `import datetime as dt` (#8978)pukkandan
2024-03-31Infer `acodec` for single-codec containerspukkandan
2024-03-30[utils] `traverse_obj`: Allow unbranching using `all` and `any` (#9571)Simon Sawicki
Authored by: Grub4K
2024-03-30[test] `traversal`: Separate traversal tests (#9574)Simon Sawicki
Authored by: Grub4K
2024-03-16[rh:curlcffi] Add support for `curl_cffi`coletdjnz
Authored by: coletdjnz, Grub4K, pukkandan, bashonly Co-authored-by: Simon Sawicki <contact@grub4k.xyz> Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com> Co-authored-by: bashonly <bashonly@protonmail.com>
2024-03-16Add new options `--impersonate` and `--list-impersonate-targets`coletdjnz
Authored by: coletdjnz, Grub4K, pukkandan, bashonly Co-authored-by: Simon Sawicki <contact@grub4k.xyz> Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com> Co-authored-by: bashonly <bashonly@protonmail.com>
2024-03-16[test] Workaround websocket server hanging (#9467)coletdjnz
Authored by: coletdjnz
2024-03-11[cleanup] Misc (#8968)pukkandan
Authored by: pukkandan, bashonly, seproDev
2024-03-11[docs] Misc Cleanup (#8977)pukkandan
Closes #8355, #8944 Authored by: bashonly, Grub4k, Arthurszzz, seproDev, pukkandan Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com> Co-authored-by: bashonly <bashonly@protonmail.com> Co-authored-by: Arthurszzz <minecraftgamerarthur@gmail.com> Co-authored-by: Simon Sawicki <accounts@grub4k.xyz> Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
2024-03-04[test:websockets] Fix timeout test on Windows (#9344)sepro
Authored by: seproDev
2024-02-20[ie] Migrate commonly plural fields to lists (#8917)Lev
Authored by: llistochek, pukkandan Related: #3944
2024-02-18[rh] Remove additional logging handlers on close (#9032)coletdjnz
Fixes https://github.com/yt-dlp/yt-dlp/issues/8922 Authored by: coletdjnz
2024-01-21[rh:requests] Apply `remove_dot_segments` to absolute redirect locationscoletdjnz
Fixes https://github.com/yt-dlp/yt-dlp/issues/9020 Authored by: coletdjnz
2024-01-20[networking] Remove `_CompatHTTPError` (#8871)coletdjnz
Use `yt_dlp.networking.exceptions.HTTPError`. `_CompatHTTPError` was to help with transition to the networking framework. Authored by: coletdjnz
2024-01-20[test] Skip source address tests if the address cannot be bound to (#8900)coletdjnz
Fixes https://github.com/yt-dlp/yt-dlp/issues/8890 Authored by: coletdjnz
2024-01-05[utils] `traverse_obj`: Support `xml.etree.ElementTree.Element` (#8911)Simon Sawicki
Authored by: Grub4K
2023-12-30[cleanup] Misc (#8598)Simon Sawicki
Authored by: bashonly, pukkandan, seproDev, Grub4K Co-authored-by: bashonly <bashonly@protonmail.com> Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com> Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
2023-12-24[core] Fix format selection parse error for CPython 3.12 (#8797)Simon Sawicki
Authored by: Grub4K
2023-12-21[core] Release workflow and Updater cleanup (#8640)bashonly
- Only use trusted publishing with PyPI and remove support for PyPI tokens from release workflow - Clean up improper actions syntax in the build workflow inputs - Refactor Updater to allow for consistent unit testing with `UPDATE_SOURCES` Authored by: bashonly
2023-12-20[test:networking] Update tests for OpenSSL 3.2 (#8814)bashonly
Authored by: bashonly
2023-12-20[networking] Strip whitespace around header values (#8802)coletdjnz
Fixes https://github.com/yt-dlp/yt-dlp/issues/8729 Authored by: coletdjnz
2023-12-06[utils] `traverse_obj`: Move `is_user_input` into output template (#8673)Simon Sawicki
Authored by: Grub4K
2023-12-06[outtmpl] Support multiplicationpukkandan
Related: #8683
2023-11-26[core] Parse `release_year` from `release_date` (#8524)sepro
Closes #7263 Authored by: seproDev
2023-11-20[rh:websockets] Migrate websockets to networking framework (#7720)coletdjnz
* Adds a basic WebSocket framework * Introduces new minimum `websockets` version of 12.0 * Deprecates `WebSocketsWrapper` Fixes https://github.com/yt-dlp/yt-dlp/issues/8439 Authored by: coletdjnz