51 Commits

Author SHA1 Message Date
coletdjnz
e7382323bc
better cache key name for internal versioning 2025-05-17 13:37:16 +12:00
coletdjnz
b4f0d272be
Update yt_dlp/extractor/youtube/pot/README.md
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
2025-05-17 13:20:19 +12:00
coletdjnz
26fbb09502
clarify class name requirements 2025-05-16 22:38:15 +12:00
coletdjnz
83edf67155
clean up docs 2025-05-16 21:01:07 +12:00
coletdjnz
2602a47685
Add never fetch pot policy 2025-05-16 20:54:54 +12:00
coletdjnz
f7b821f490
Merge remote-tracking branch 'upstream/master' into feat/youtube/pot-provider-framework 2025-05-16 20:43:44 +12:00
coletdjnz
5506357315
improve docs 2025-05-16 20:42:57 +12:00
coletdjnz
50d12bbc5e
cleanup some long lines 2025-05-16 20:30:06 +12:00
coletdjnz
fcdf2b732f
typing cleanup 2025-05-16 20:13:25 +12:00
coletdjnz
8045fed380
Revert back to pot_trace = true / false extractor arg 2025-05-16 19:17:23 +12:00
bashonly
ded11ebc9a
[ie/youtube] Extract media_type for all videos (#13136)
Authored by: bashonly
2025-05-10 22:33:57 +00:00
bashonly
0feec6dc13
[ie/youtube] Add web_embedded client for age-restricted videos (#13089)
Authored by: bashonly
2025-05-03 20:11:40 +00:00
Abdulmohsen
8f303afb43
[ie/youtube] Fix --live-from-start support for premieres (#13079)
Closes #8543
Authored by: arabcoders
2025-05-03 15:23:28 +00:00
bashonly
74fc2ae12c
[ie/youtube] Do not strictly deprioritize missing_pot formats (#13061)
Deprioritization was redundant; they're already hidden behind an extractor-arg

Authored by: bashonly
2025-04-30 22:51:40 +00:00
bashonly
61c9a938b3
[ie/youtube] Cache signature timestamps (#13047)
Closes #12825
Authored by: bashonly
2025-04-30 01:15:17 +00:00
bashonly
fd8394bc50
[ie/youtube] Improve warning for SABR-only/SSAP player responses (#13049)
Ref: https://github.com/yt-dlp/yt-dlp/issues/12482

Authored by: bashonly
2025-04-30 01:13:35 +00:00
coletdjnz
8cb08028f5
[ie/youtube] Detect and warn when account cookies are rotated (#13014)
Related: https://github.com/yt-dlp/yt-dlp/issues/8227

Authored by: coletdjnz
2025-04-27 12:16:34 +12:00
bashonly
c2d6659d10
[ie/youtube] Detect player JS variants for any locale (#13003)
Authored by: bashonly
2025-04-26 22:08:34 +00:00
coletdjnz
26feac3dd1
[ie/youtube] Add context to video request rate limit error (#12958)
Related: https://github.com/yt-dlp/yt-dlp/issues/11426

Authored by: coletdjnz
2025-04-25 16:11:07 +12:00
coletdjnz
dd92c0df5b
minor logging improvements 2025-04-20 20:21:21 +12:00
coletdjnz
eb3680be9e
typo lol 2025-04-19 11:14:51 +12:00
coletdjnz
c1df426180
refactor: implement _SUPPORTED_EXTERNAL_REQEUST_FEATURES 2025-04-19 11:05:47 +12:00
coletdjnz
72a4a46152
refactor: provider _urlopen into _request_webpage, make pot_request optional 2025-04-18 17:21:26 +12:00
coletdjnz
7b0dd8b2d1
fix: expand webpo visitor id character set support 2025-04-18 16:51:05 +12:00
coletdjnz
4ee46531c9
Merge remote-tracking branch 'upstream/master' into feat/youtube/pot-provider-framework 2025-04-18 16:33:41 +12:00
leeblackc
ed6c6d7eef
[ie/youtube] Add extractor arg to skip "initial_data" request (#12865)
Closes https://github.com/yt-dlp/yt-dlp/issues/12826

Authored by: leeblackc
2025-04-18 11:42:08 +12:00
coletdjnz
f484c51599
[ie/youtube] Add warning on video captcha challenge (#12939)
Authored by: coletdjnz
2025-04-18 11:40:39 +12:00
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
2025-04-18 11:34:30 +12:00
coletdjnz
d14c0fe223
[core] Add close hook API to YoutubeDL 2025-04-12 13:24:10 +12:00
coletdjnz
8e9a6553a6
[ie/youtube] Add log level for pot; do not call is_available() until necessary. 2025-04-12 11:34:31 +12:00
coletdjnz
a0e036897b
[ie/youtube] Move registry from globals to pot module 2025-04-12 09:28:22 +12:00
coletdjnz
71de622d19
[ie/youtube] Refactor project structure 2025-04-12 09:20:13 +12:00
coletdjnz
0c857e5de8
Update yt_dlp/extractor/youtube/pot/README.md 2025-04-12 08:59:57 +12:00
coletdjnz
010e74410a
[ie/youtube] Fix typos in README 2025-04-12 08:59:37 +12:00
coletdjnz
4e22fb6192
[ie/youtube] Rename cache register decorators 2025-04-12 08:58:56 +12:00
coletdjnz
8def006075
[ie/youtube] Rename get_setting to _configuration_arg 2025-04-12 08:53:29 +12:00
coletdjnz
18f89ca016
[ie/youtube] Remove max_size memory cache option 2025-04-12 08:46:23 +12:00
coletdjnz
038699cae6
[ie/youtube] Add a PO Token Provider Framework 2025-04-05 14:29:53 +13:00
bashonly
5e457af57f
[cleanup] Misc (#12802)
Authored by: bashonly
2025-03-31 21:38:21 +00:00
bashonly
07f04005e4
[ie/youtube] Add player_js_variant extractor-arg (#12767)
- Always distinguish between different JS variants' code/functions
- Change naming scheme for nsig and sigfuncs in disk cache

Authored by: bashonly
2025-03-31 19:45:48 +00:00
coletdjnz
6a6d97b2cb
[ie/youtube:tab] Fix playlist continuation extraction (#12777)
Fixes https://github.com/yt-dlp/yt-dlp/issues/12759

Authored by: coletdjnz
2025-03-29 11:13:09 +13:00
bashonly
48be862b32
[ie/youtube] Make signature and nsig extraction more robust (#12761)
Authored by: bashonly, seproDev

Co-authored-by: sepro <sepro@sepr0.com>
2025-03-27 22:31:01 +00:00
sepro
ecee97b4fa
[ie/youtube] Only cache nsig code on successful decoding (#12750)
Authored by: seproDev, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
2025-03-25 23:47:45 +00:00
sepro
a550dfc904
[ie/youtube] Fix signature and nsig extraction for player 4fcd6e4a (#12748)
Closes #12746
Authored by: seproDev
2025-03-25 23:40:58 +00:00
sepro
9dde546e7e
[cleanup] Misc (#12694)
Authored by: seproDev
2025-03-25 00:05:02 +00:00
bashonly
4054a2b623
[ie/youtube] Fix PhantomJS nsig fallback (#12728)
Also fixes the NSigDeno plugin

Closes #12724
Authored by: bashonly
2025-03-24 21:22:25 +00:00
bashonly
b9c979461b
[ie/youtube] Fix signature and nsig extraction for player 363db69b (#12725)
Closes #12724
Authored by: bashonly
2025-03-24 21:18:51 +00:00
sepro
9b868518a1
[ie/youtube] Fix nsig and signature extraction for player 643afba4 (#12684)
Closes #12677, Closes #12682
Authored by: seproDev, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
2025-03-21 20:58:10 +00:00
coletdjnz
e67d786c7c
[ie/youtube] Warn on DRM formats (#12593)
Authored by: coletdjnz
2025-03-16 10:28:16 +13:00
sepro
3380febe99
[ie/youtube] Player client maintenance (#12603)
Authored by: seproDev
2025-03-15 21:57:56 +01:00