Commit Graph

1408 Commits (master)

Author SHA1 Message Date
doe1080 15263d049c
[utils] `unified_timestamp`: Add `tz_offset` parameter (#15357)
Allows datetime strings without a timezone to be parsed with the correct offset

Authored by: doe1080
1 week ago
bashonly ff61bef041
[ie/youtube:tab] Fix flat thumbnails extraction for shorts (#15331)
Closes #15329
Authored by: bashonly
2 weeks ago
Simon Sawicki 7bd79d9296
[ie/youtube] Allow `ejs` patch version to differ (#15263)
Authored by: Grub4K
3 weeks ago
bashonly 6ee6a6fc58
[rh:urllib] Do not read after close (#15049)
Fix regression introduced in 5767fb4ab1

Closes #15017
Authored by: bashonly
1 month ago
Simon Sawicki ade8c2b36f
[test] Skip flaky tests if source unchanged (#14970)
Authored by: bashonly, Grub4K
Co-authored-by: bashonly <bashonly@protonmail.com>
2 months ago
coletdjnz 5767fb4ab1
[networking] Ensure underlying file object is closed when fully read (#14935)
Fixes https://github.com/yt-dlp/yt-dlp/issues/14891

Authored by: coletdjnz
2 months ago
Simon Sawicki 6224a38988
[ie/youtube] Implement external n/sig solver (#14157)
Closes #14404, Closes #14431, Closes #14680, Closes #14707

Authored by: bashonly, coletdjnz, seproDev, Grub4K

Co-authored-by: coletdjnz <coletdjnz@protonmail.com>
Co-authored-by: bashonly <bashonly@protonmail.com>
Co-authored-by: sepro <sepro@sepr0.com>
2 months ago
sepro d9e3011fd1
[ie/web.archive:youtube] Fix extractor (#14753)
Closes #14681, Closes #14741
Authored by: seproDev
2 months ago
bashonly 4e6a693057
Remove Python 3.9 support (#13861)
Closes #13858
Authored by: bashonly
2 months ago
coletdjnz bd5ed90419
[ie/youtube] Detect experiment binding GVS PO Token to video id (#14471)
Fixes https://github.com/yt-dlp/yt-dlp/issues/14421

Authored by: coletdjnz
3 months ago
sepro 08d7899683
[cleanup] Deprecate various options (#13821)
Closes #14198, Closes #12909
Authored by: seproDev
3 months ago
bashonly ba80446855
[cleanup] Bump ruff to 0.13.x (#14293)
Authored by: bashonly
4 months ago
bashonly a183837ec8
[test:utils] Fix `sanitize_path` test for Windows CPython 3.11 (#13878)
Authored by: Grub4K

Co-authored-by: Simon Sawicki <contact@grub4k.dev>
4 months ago
Mozi 6a763a55d8
[compat] Add `compat_datetime_from_timestamp` (#11902)
Authored by: pzhlkj6612, seproDev

Co-authored-by: sepro <sepro@sepr0.com>
4 months ago
bashonly 50136eeeb3
[build] Overhaul Linux builds and refactor release workflow (#13997)
- Use `manylinux-shared` images for Linux builds
- Discontinue `yt-dlp_linux_armv7l`/`linux_armv7l_exe` release binary
- Add `yt-dlp_linux_armv7l.zip`/`linux_armv7l_dir` release binary
- Add `yt-dlp_musllinux` and `yt-dlp_musllinux_aarch64` release binaries
- Migrate `linux_exe` build strategy from staticx+musl to manylinux2014/glibc2.17
- Rewrite release.yml's "unholy bash monstrosity" as devscripts/setup_variables.py

Closes #10072, Closes #10630, Closes #10578, Closes #13976, Closes #13977, Closes #14106
Authored by: bashonly
4 months ago
bashonly 8f4a908300
[ie/youtube] Add `tcc` player JS variant (#14134)
Authored by: bashonly
4 months ago
bashonly 35da8df4f8
[utils] Add improved `jwt_encode` function (#14071)
Also deprecates `jwt_encode_hs256`

Authored by: bashonly
4 months ago
bashonly 8df121ba59
[ie/mtv] Overhaul extractors (#14052)
Adds SouthParkComBrIE and SouthParkCoUkIE

Removes these extractors:
 - CMTIE: migrated to Paramount+
 - ComedyCentralTVIE: migrated to Paramount+
 - MTVDEIE: migrated to Paramount+
 - MTVItaliaIE: migrated to Paramount+
 - MTVItaliaProgrammaIE: migrated to Paramount+
 - MTVJapanIE: migrated to JP Services
 - MTVServicesEmbeddedIE: dead domain
 - MTVVideoIE: migrated to Paramount+
 - NickBrIE: redirects to landing page w/o any videos
 - NickDeIE: redirects to landing page w/o any videos
 - NickRuIE: redirects to landing page w/o any videos
 - BellatorIE: migrated to PFL
 - ParamountNetworkIE: migrated to Paramount+
 - SouthParkNlIE: site no longer exists
 - TVLandIE: migrated to Paramount+

Closes #169, Closes #1711, Closes #1712, Closes #2621, Closes #3167, Closes #3893, Closes #4552, Closes #4702, Closes #4928, Closes #5249, Closes #6156, Closes #8722, Closes #9896, Closes #10168, Closes #12765, Closes #13446, Closes #14009

Authored by: bashonly, doe1080, Randalix, seproDev

Co-authored-by: doe1080 <98906116+doe1080@users.noreply.github.com>
Co-authored-by: Randalix <23729538+Randalix@users.noreply.github.com>
Co-authored-by: sepro <sepro@sepr0.com>
4 months ago
bashonly aea85d525e
[build] Discontinue `darwin_legacy_exe` support (#13860)
* Removes "yt-dlp_macos_legacy" from release assets
* Discontinues executable support for macOS < 10.15

Closes #13856
Authored by: bashonly
5 months ago
bashonly f2919bd28e
[ie/youtube] Add `es5` and `es6` player JS variants (#14005)
Authored by: bashonly
5 months ago
doe1080 4385480795
[utils] `parse_resolution`: Support width-only pattern (#13802)
Authored by: doe1080
5 months ago
Simon Sawicki eed94c7306
[utils] Add `WINDOWS_VT_MODE` to globals (#12460)
Authored by: Grub4K
5 months ago
sepro 9951fdd0d0
[cleanup] Misc (#13595)
Closes #10853, Closes #12436, Closes #13314, Closes #13609
Authored by: seproDev, InvalidUsernameException, doe1080, hseg, bashonly, adamralph

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: InvalidUsernameException <InvalidUsernameException@users.noreply.github.com>
Co-authored-by: gesh <gesh@gesh.uni.cx>
Co-authored-by: Adam Ralph <adam@adamralph.com>
Co-authored-by: doe1080 <98906116+doe1080@users.noreply.github.com>
5 months ago
bashonly b5fea53f20
[ie] Rework `_search_nextjs_v13_data` helper (#13711)
Fix 5245231e4a

Authored by: bashonly
6 months ago
bashonly 5245231e4a
[ie] Add `_search_nextjs_v13_data` helper (#13398)
* Fixes FranceTVSiteIE livestream extraction
* Fixes GoPlayIE metadata extraction

Authored by: bashonly
6 months ago
bashonly 805519bfaa
[jsinterp] Fix undefined variable name caching (#13677)
Fix b342d27f3f

Authored by: bashonly
6 months ago
InvalidUsernameException fd36b8f31b
[test:download] Support `playlist_maxcount` (#13433)
Authored by: InvalidUsernameException
6 months ago
bashonly fca94ac5d6 [ie/youtube] Extract global nsig helper functions (#13639)
Authored by: bashonly, seproDev

Co-authored-by: sepro <sepro@sepr0.com>
6 months ago
bashonly b6328ca050 [jsinterp] Fix variable scoping (#13639)
Authored by: bashonly, seproDev

Co-authored-by: sepro <sepro@sepr0.com>
6 months ago
Simon Sawicki e99c0b838a
[ie] Detect invalid m3u8 playlist data (#13601)
Authored by: Grub4K
6 months ago
Simon Sawicki c2ff2dbaec
[rh:requests] Work around partial read dropping data (#13599)
Authored by: Grub4K
6 months ago
bashonly 500761e41a
[ie] Fix m3u8 playlist data corruption (#13588)
Revert 7b81634fb1

Closes #13581
Authored by: bashonly
6 months ago
sepro 958153a226
[jsinterp] Fix `extract_object` (#13580)
Fixes sig extraction for YouTube player `e12fbea4`

Authored by: seproDev
6 months ago
Simon Sawicki 7b81634fb1
[ie] Detect invalid m3u8 playlist data (#13563)
Authored by: Grub4K
6 months ago
Simon Sawicki 73bf102116
[test] `traversal`: Fix morsel tests for Python 3.14 (#13471)
Authored by: Grub4K
6 months 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>
7 months ago
gamer191 1fd0e88b67
[ie/youtube] Add `tv_simply` player client (#13389)
Authored by: gamer191
7 months ago
Simon Sawicki 9e38b273b7
[ie/youtube] Rework nsig function name extraction (#13403)
Closes #13401

Authored by: Grub4K
7 months ago
bashonly 85c8a405e3
[ie] Improve JSON LD thumbnails extraction (#13368)
Authored by: bashonly, doe1080

Co-authored-by: doe1080 <98906116+doe1080@users.noreply.github.com>
7 months ago
bashonly a9b3700698
[test:postprocessors] Remove binary thumbnail test data (#13341)
Authored by: bashonly
7 months ago
Matt Broadway e491fd4d09
[cookies] Fix Linux desktop environment detection (#13197)
Closes #12885
Authored by: mbway
7 months ago
bashonly 32ed5f107c
[ie/youtube] Add PO token support for subtitles (#13234)
Closes #13075
Authored by: bashonly, coletdjnz

Co-authored-by: coletdjnz <coletdjnz@protonmail.com>
7 months ago
sepro 167d7a9f0f
[jsinterp] Fix increment/decrement evaluation (#13238)
Closes #13241
Authored by: seproDev, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
7 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
7 months ago
doe1080 ceab4d5ed6
[networking] Add PATCH request shortcut (#12884)
Authored by: doe1080
8 months ago
coletdjnz 72ba487930
[ie/youtube:tab] Extract continuation from empty page (#12938)
Fixes https://github.com/yt-dlp/yt-dlp/issues/12933 https://github.com/yt-dlp/yt-dlp/issues/8206

Authored by: coletdjnz
8 months ago
doe1080 a473e59233
[utils] `url_or_none`: Support WebSocket URLs (#12848)
Authored by: doe1080
9 months ago
bashonly 48be862b32
[ie/youtube] Make signature and nsig extraction more robust (#12761)
Authored by: bashonly, seproDev

Co-authored-by: sepro <sepro@sepr0.com>
9 months ago
bashonly a8b9ff3c2a
[jsinterp] Fix nested attributes and object extraction (#12760)
Authored by: bashonly, seproDev

Co-authored-by: sepro <sepro@sepr0.com>
9 months ago
sepro a550dfc904
[ie/youtube] Fix signature and nsig extraction for player `4fcd6e4a` (#12748)
Closes #12746
Authored by: seproDev
9 months ago