Simon Sawicki
422195ec70
[utils] Allow partial application for even more functions ( #11437 )
...
Fixes b6dc2c49e8
Authored by: Grub4K
2024-11-02 21:42:00 +01:00
bashonly
b6dc2c49e8
[utils] Allow partial application for more functions ( #11391 )
...
Also adds the `trim_str` traversal helper
Authored by: bashonly, Grub4K
Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
2024-10-30 21:53:41 +00:00
bashonly
88402b714e
Fix --netrc
empty string parsing for Python <=3.10 ( #11414 )
...
Ref: 15409c720b
Closes #11413
Authored by: bashonly, Grub4K
Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
2024-10-30 18:58:50 +00:00
bashonly
d784464399
Remove Python 3.8 support ( #11321 )
...
Closes #10086
Authored by: bashonly
2024-10-23 06:33:50 +00:00
Imran Hussain
0f593dca9f
Add option --plugin-dirs
( #11277 )
...
Closes #3260
Authored by: imranh2, coletdjnz
Co-authored-by: coletdjnz <coletdjnz@protonmail.com>
2024-10-20 17:10:26 +00:00
Simon Sawicki
d710a6ca7c
Add extractor helpers ( #10653 )
...
Authored by: Grub4K
2024-10-13 05:14:32 +02:00
Simon Sawicki
85b87c991a
[utils] sanitize_path
: Reimplement function ( #11198 )
...
Authored by: Grub4K
2024-10-13 04:10:12 +02:00
rakslice
8f4ea14680
Fix format sorting bug with vp9.2 vcodec ( #10884 )
...
Authored by: rakslice
2024-09-27 21:32:39 +00:00
coletdjnz
d1c4d88b2d
[networking] Fix handler not being added to RequestError ( #10955 )
...
Authored by: coletdjnz
2024-09-08 19:32:44 +12:00
coletdjnz
6f9e653743
[rh:websockets] Upgrade websockets to 13.0 ( #10815 )
...
Fixes CI hanging
Authored by: coletdjnz
2024-08-21 19:17:26 +12:00
sepro
c86891eb94
[ie/youtube] Fix n
function name extraction for player b12cc44b
( #10668 )
...
Authored by: seproDev
2024-08-05 20:36:11 +00:00
sepro
bb8bf1db99
[jsinterp] Improve slice
implementation ( #10664 )
...
Authored by: seproDev
2024-08-05 20:28:24 +00:00
bashonly
011b4a04db
[ie/youtube] Fix n
function name extraction for player 20dfca59
( #10611 )
...
Closes #10608
Authored by: bashonly
2024-07-31 21:19:30 +00:00
bashonly
6daf2c27c0
[utils] unified_timestamp
: Recognize Sunday ( #10589 )
...
Authored by: bashonly
2024-07-29 05:35:46 +00:00
bashonly
713b4cd18f
[ie/youtube] Fix n
function name extraction for player 3400486c
( #10542 )
...
Authored by: bashonly
2024-07-23 21:25:49 +00:00
bashonly
cc0070f649
[utils] parse_codecs
: Fix parsing of mixed case codec strings
...
Authored by: bashonly
2024-07-14 22:56:28 -05:00
coletdjnz
150ecc45d9
[networking] Add legacy_ssl
request extension ( #10448 )
...
Supported by Urllib, Requests and Websockets request handlers. Ignored by CurlCFFI.
Also added couple cookie-related tests.
Authored by: coletdjnz
2024-07-14 11:22:43 +12:00
coletdjnz
42bfca00a6
[rh:curl_cffi] Support curl_cffi
0.7.X
...
Authored by: coletdjnz
2024-07-09 18:36:15 -05:00
sepro
0b570f2a90
[core] Do not alter default format selection when simulated ( #9862 )
...
Closes #9843
Authored by: seproDev
2024-07-09 01:51:43 +02:00
bashonly
297b0a3792
[ie/youtube] Fix JS n
function name extraction ( #10390 )
...
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 22:04:48 +00:00
Simon Sawicki
6c056ea7ae
[jsinterp] Implement Function.prototype
resolving for call
and apply
( #10392 )
...
Authored by: Grub4K
2024-07-08 23:46:26 +02:00
Simon Sawicki
5ce582448e
[core] Disallow unsafe extensions (CVE-2024-38519)
...
Ref: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-79w7-vh3h-8g4j
Authored by: Grub4K
2024-07-02 00:58:40 +02:00
bashonly
6aaf96a3d6
[cleanup] Misc ( #10075 )
...
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-07-01 22:51:27 +00:00
bashonly
54a63e80af
[test:download] Raise on network errors ( #10283 )
...
Authored by: bashonly, seproDev
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
2024-06-28 00:23:44 +00:00
Peisen Wang
a8520244b8
[cookies] Fix --cookies-from-browser
DE detection on Linux ( #10237 )
...
Align with chromium source by parsing every part of `XDG_CURRENT_DESKTOP`
Authored by: peisenwang
2024-06-22 23:25:16 +00:00
sepro
add96eb9f8
[cleanup] Add more ruff rules ( #10149 )
...
Authored by: seproDev
Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com>
Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
2024-06-12 01:09:58 +02:00
Simon Sawicki
5c019f6328
[misc] Cleanup ( #9765 )
...
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 21:37:49 +00:00
coletdjnz
96a134dea6
[ie/youtube] Extract upload timestamp if available ( #9856 )
...
Closes #4962 , Closes #9829
Authored by: coletdjnz
2024-05-26 21:13:12 +00:00
Simon Sawicki
e897bd8292
[misc] Add hatch
, ruff
, pre-commit
and improve dev docs ( #7409 )
...
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 21:27:21 +02:00
coletdjnz
53b4d44f55
[test] Fix connect timeout test ( #9906 )
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/9659
Authored by: coletdjnz
2024-05-18 19:12:21 +12:00
coletdjnz
3c7a287e28
[test] Add HTTP proxy tests ( #9578 )
...
Also fixes HTTPS proxies for curl_cffi
Authored by: coletdjnz
2024-05-11 10:06:58 +12:00
bashonly
bec9a59e8e
[networking] Add extensions
attribute to Response
( #9756 )
...
CurlCFFIRH now provides an `impersonate` field in its responses' extensions
Authored by: bashonly
2024-05-04 22:19:42 +00:00
Simon Sawicki
7e26bd53f9
[core/windows] Fix tests for sys.executable
with spaces (Fix for 64766459e3
)
...
Authored by: Grub4K
2024-04-28 15:47:55 +02:00
Simon Sawicki
64766459e3
[core/windows] Improve shell quoting and tests ( #9802 )
...
Authored by: Grub4K
2024-04-27 10:37:26 +02:00
Simon Sawicki
3ee1194288
[ie] Make _search_nextjs_data
non fatal ( #8937 )
...
Authored by: Grub4K
2024-04-21 13:40:38 +02:00
Simon Sawicki
ff07792676
[core] Prevent RCE when using --exec
with %q
(CVE-2024-22423)
...
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 18:36:13 +02:00
bashonly
216f6a3cb5
[cleanup] Misc ( #9426 )
...
Authored by: bashonly, pukkandan
2024-04-09 16:12:26 +00:00
Simon Sawicki
32abfb00bd
[utils] traverse_obj
: Convenience improvements ( #9577 )
...
Add support for:
- `http.cookies.Morsel`
- Multi type filters (`{type, type}`)
Authored by: Grub4K
2024-04-01 02:12:03 +02:00
pukkandan
c305a25c1b
[cleanup] Standardize import datetime as dt
( #8978 )
2024-04-01 05:32:15 +05:30
pukkandan
86a972033e
Infer acodec
for single-codec containers
2024-03-31 22:50:21 +05:30
Simon Sawicki
3699eeb67c
[utils] traverse_obj
: Allow unbranching using all
and any
( #9571 )
...
Authored by: Grub4K
2024-03-30 19:54:43 +01:00
Simon Sawicki
979ce2e786
[test] traversal
: Separate traversal tests ( #9574 )
...
Authored by: Grub4K
2024-03-30 19:32:07 +01:00
coletdjnz
52f5be1f1e
[rh:curlcffi] Add support for curl_cffi
...
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 23:15:11 -05:00
coletdjnz
0b81d4d252
Add new options --impersonate
and --list-impersonate-targets
...
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 23:14:13 -05:00
coletdjnz
f849d77ab5
[test] Workaround websocket server hanging ( #9467 )
...
Authored by: coletdjnz
2024-03-16 16:57:21 +13:00
pukkandan
615a84447e
[cleanup] Misc ( #8968 )
...
Authored by: pukkandan, bashonly, seproDev
2024-03-11 00:52:28 +05:30
pukkandan
47ab66db0f
[docs] Misc Cleanup ( #8977 )
...
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-11 00:48:47 +05:30
sepro
ac340d0745
[test:websockets] Fix timeout test on Windows ( #9344 )
...
Authored by: seproDev
2024-03-04 17:47:38 +01:00
Lev
104a7b5a46
[ie] Migrate commonly plural fields to lists ( #8917 )
...
Authored by: llistochek, pukkandan
Related: #3944
2024-02-20 12:49:24 +05:30
coletdjnz
0085e2bab8
[rh] Remove additional logging handlers on close ( #9032 )
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/8922
Authored by: coletdjnz
2024-02-18 11:32:34 +13:00