1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-08-08 05:28:30 +00:00

[ie/youtube] Update tv client config (#13934)

Closes #13930
Authored by: seproDev
This commit is contained in:
sepro 2025-08-05 18:47:37 +02:00 committed by GitHub
parent 38c2bf4026
commit f799a4b472
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -309,12 +309,12 @@ class SubsPoTokenPolicy(BasePoTokenPolicy):
'client': {
'clientName': 'TVHTML5',
'clientVersion': '7.20250312.16.00',
'userAgent': 'Mozilla/5.0 (ChromiumStylePlatform) Cobalt/Version',
# See: https://github.com/youtube/cobalt/blob/main/cobalt/browser/user_agent/user_agent_platform_info.cc#L506
'userAgent': 'Mozilla/5.0 (ChromiumStylePlatform) Cobalt/25.lts.30.1034943-gold (unlike Gecko), Unknown_TV_Unknown_0/Unknown (Unknown, Unknown)',
},
},
'INNERTUBE_CONTEXT_CLIENT_NAME': 7,
'SUPPORTS_COOKIES': True,
'PLAYER_PARAMS': '8AEB',
},
'tv_simply': {
'INNERTUBE_CONTEXT': {