doe1080
6be26626f7
[utils] `unified_timestamp`: Return `int` values ( #13796 )
...
Authored by: doe1080
2 weeks ago
bashonly
28bf46b7da
[utils] `urlhandle_detect_ext`: Use `x-amz-meta-file-type` headers ( #13749 )
...
Authored by: bashonly
3 weeks ago
bashonly
b8abd255e4
[utils] `mimetype2ext`: Always parse `flac` from `audio/flac` ( #13748 )
...
Authored by: bashonly
3 weeks ago
bashonly
51887484e4
[ie] Add `_search_nuxt_json` helper ( #13386 )
...
* Adds InfoExtractor._search_nuxt_json for webpage extraction
* Adds InfoExtractor._resolve_nuxt_array for direct use with payload JSON
* Adds yt_dlp.utils.jslib module for Python solutions to common JavaScript libraries
* Adds devalue.parse and devalue.parse_iter to jslib utils
Ref:
* 9e503be0f2
* f3fd2aa93d/src/parse.js
Authored by: bashonly, Grub4K
Co-authored-by: Simon Sawicki <contact@grub4k.dev>
2 months ago
coletdjnz
2685654a37
[ie/youtube] Add a PO Token Provider Framework ( #12840 )
...
https://github.com/yt-dlp/yt-dlp/tree/master/yt_dlp/extractor/youtube/pot/README.md
Authored by: coletdjnz
3 months ago
sepro
505b400795
[cleanup] Misc ( #12844 )
...
Authored by: seproDev, bashonly
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
3 months ago
doe1080
a473e59233
[utils] `url_or_none`: Support WebSocket URLs ( #12848 )
...
Authored by: doe1080
4 months ago
sepro
9491b44032
[utils] `js_to_json`: Make function less fatal ( #12715 )
...
Authored by: seproDev
5 months ago
Simon Sawicki
f36e4b6e65
[cleanup] Misc ( #12526 )
...
Authored by: Grub4K, seproDev, gamer191, dirkf
Co-authored-by: sepro <sepro@sepr0.com>
5 months ago
Simon Sawicki
7d18fed8f1
[networking] Add `keep_header_casing` extension ( #11652 )
...
Authored by: coletdjnz, Grub4K
Co-authored-by: coletdjnz <coletdjnz@protonmail.com>
5 months ago
coletdjnz
4445f37a7a
[core] Load plugins on demand ( #11305 )
...
- Adds `--no-plugin-dirs` to disable plugin loading
- `--plugin-dirs` now supports post-processors
Authored by: coletdjnz, Grub4K, pukkandan
6 months ago
Simon Sawicki
f7a1f2d813
[core] Support emitting ConEmu progress codes ( #10649 )
...
Authored by: Grub4K
6 months ago
bashonly
be69468752
[fd/hls] Support `--write-pages` for m3u8 media playlists ( #12333 )
...
Authored by: bashonly
6 months ago
sepro
3b45319344
[cleanup] Misc ( #12194 )
...
Closes #12098 , Closes #12133
Authored by: seproDev, bashonly, lonble, pjrobertson
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: Lonble <74650029+lonble@users.noreply.github.com>
Co-authored-by: Patrick Robertson <robertson.patrick@gmail.com>
6 months ago
Simon Sawicki
fc12e724a3
[utils] `sanitize_path`: Fix some incorrect behavior ( #11923 )
...
Authored by: Grub4K
6 months ago
sepro
d8fb349086
[cleanup] Bump ruff to 0.8.x ( #11608 )
...
Authored by: seproDev
8 months ago
sepro
f95a92b3d0
[cleanup] Deprecate more compat functions ( #11439 )
...
Authored by: seproDev
9 months ago
Simon Sawicki
c014fbcddc
[utils] `subs_list_to_dict`: Add `lang` default parameter ( #11508 )
...
Authored by: Grub4K
9 months ago
Simon Sawicki
39d79c9b9c
[utils] Fix `join_nonempty`, add `**kwargs` to `unpack` ( #11559 )
...
Authored by: Grub4K
9 months ago
sepro
197d0b03b6
[cleanup] Misc ( #11347 )
...
Closes #11361
Authored by: avagordon01, bashonly, grqz, Grub4K, seproDev
Co-authored-by: Ava Gordon <avagordon01@gmail.com>
Co-authored-by: bashonly <bashonly@protonmail.com>
Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
9 months ago
sepro
3945677a75
[core] Prioritize AV1 ( #11153 )
...
Authored by: seproDev
9 months ago
bashonly
b103aca24d
[utils] Fix and improve `find_element` and `find_elements` ( #11443 )
...
Fix d710a6ca7c
Authored by: bashonly, Grub4K
Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
9 months ago
Simon Sawicki
422195ec70
[utils] Allow partial application for even more functions ( #11437 )
...
Fixes b6dc2c49e8
Authored by: Grub4K
9 months ago
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>
9 months ago
bashonly
5bc5fb2835
Allow thumbnails with `.jpe` extension ( #11408 )
...
Fix 5ce582448e
Closes #11407
Authored by: bashonly
9 months ago
bashonly
f93c16395c
[utils] Fix `find_element` by class ( #11402 )
...
Fix d710a6ca7c
Authored by: bashonly
9 months ago
Simon Sawicki
5c880ef42e
[core] Populate format sorting fields before dependent fields ( #11353 )
...
Authored by: Grub4K
9 months ago
bashonly
d784464399
Remove Python 3.8 support ( #11321 )
...
Closes #10086
Authored by: bashonly
10 months ago
Simon Sawicki
67adeb7bab
[cleanup] Misc ( #11216 )
...
- Add Python 3.13 to CI, finalize 3.13 support
- Remove Python 3.8 from CI in preparation for removing 3.8 support
- Document that PyPy3.8 and PyPy3.9 are no longer supported
- Usual documentation fixes and code cleanup
Closes #8248 , Closes #11146 , Closes #11149 , Closes #11211
Authored by: Grub4K, grqz, DTrombett, KarboniteKream, bashonly, mikkovedru, seproDev
Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
Co-authored-by: DTrombett <d@trombett.org>
Co-authored-by: =?UTF-8?q?Klemen=20Ko=C5=A1ir?= <klemen.kosir@kream.io>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: Mikko Vedru <mikko.vedru@gmail.com>
Co-authored-by: sepro <sepro@sepr0.com>
10 months ago
Imran Hussain
0f593dca9f
Add option `--plugin-dirs` ( #11277 )
...
Closes #3260
Authored by: imranh2, coletdjnz
Co-authored-by: coletdjnz <coletdjnz@protonmail.com>
10 months ago
bashonly
fbc66e3ab3
[utils] `Popen`: Reset PyInstaller environment ( #11258 )
...
- Forces spawning independent subprocesses for exes bundled with PyInstaller>=6.10
- Fixes regression introduced in fb8b7f226d
- Ref: https://pyinstaller.org/en/v6.10.0/CHANGES.html#incompatible-changes
Closes #11259
Authored by: bashonly, Grub4K
Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
10 months ago
Simon Sawicki
d710a6ca7c
Add extractor helpers ( #10653 )
...
Authored by: Grub4K
10 months ago
Simon Sawicki
85b87c991a
[utils] `sanitize_path`: Reimplement function ( #11198 )
...
Authored by: Grub4K
10 months ago
bashonly
c6387abc1a
[cleanup] Misc ( #10807 )
...
Closes #10751 , Closes #10769 , Closes #10791
Authored by: bashonly, Codenade, pzhlkj6612, seproDev, coletdjnz, grqz, Grub4K
Co-authored-by: Codenade <amadeus.dorian04@gmail.com>
Co-authored-by: Mozi <29089388+pzhlkj6612@users.noreply.github.com>
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Co-authored-by: coletdjnz <coletdjnz@protonmail.com>
Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
10 months ago
rakslice
8f4ea14680
Fix format sorting bug with vp9.2 vcodec ( #10884 )
...
Authored by: rakslice
10 months ago
bashonly
cc85596d5b
[utils] `mimetype2ext`: Recognize `aacp` as `aac` ( #10860 )
...
Authored by: bashonly
11 months ago
bashonly
6daf2c27c0
[utils] `unified_timestamp`: Recognize Sunday ( #10589 )
...
Authored by: bashonly
1 year ago
bashonly
89a161e8c6
[cleanup] Misc ( #10487 )
...
Closes #10483
Authored by: bashonly
1 year ago
bashonly
cc0070f649
[utils] `parse_codecs`: Fix parsing of mixed case codec strings
...
Authored by: bashonly
1 year ago
bashonly
b337d2989c
[cleanup] Misc ( #10383 )
...
Authored by: bashonly
1 year ago
bashonly
2469119490
[core] Address gaps in allowed extensions ( #10362 )
...
Adds some extensions missing in 5ce582448e
Closes #10360 , Closes #10365
Authored by: bashonly
1 year ago
bashonly
cc767e9490
[core] Fix `--ignore-no-formats-error` ( #10345 )
...
Fixes regression in 5ce582448e
Closes #10344
Authored by: Grub4K
Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
1 year ago
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
1 year ago
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>
1 year ago
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>
1 year ago
coletdjnz
96a134dea6
[ie/youtube] Extract upload timestamp if available ( #9856 )
...
Closes #4962 , Closes #9829
Authored by: coletdjnz
1 year ago
Simon Sawicki
64766459e3
[core/windows] Improve shell quoting and tests ( #9802 )
...
Authored by: Grub4K
1 year ago
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
1 year ago
Simon Sawicki
32abfb00bd
[utils] `traverse_obj`: Convenience improvements ( #9577 )
...
Add support for:
- `http.cookies.Morsel`
- Multi type filters (`{type, type}`)
Authored by: Grub4K
1 year ago
pukkandan
c305a25c1b
[cleanup] Standardize `import datetime as dt` ( #8978 )
1 year ago