Add WITH_COOKIES parameter to INNERTUBE_CONTEXT; fix indentation

Added 'WITH_COOKIES' parameter to the context; fix indentation
This commit is contained in:
nicolaasjan 2026-10-10 07:01:57 +02:00 committed by GitHub
parent 2ae8015f19
commit d9c68cc459
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,10 +102,11 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
'osVersion': '26.5.23O471',
},
},
'INNERTUBE_CONTEXT_CLIENT_NAME': 101,
'REQUIRE_JS_PLAYER': False,
'INNERTUBE_CONTEXT_CLIENT_NAME': 101,
'REQUIRE_JS_PLAYER': False,
'WITH_COOKIES': False,
}),
# thx yt-dlp/yt-dlp#15726
# Doesn't require a PoToken for some reason: thx yt-dlp/yt-dlp#14693
('android_vr', {
'INNERTUBE_CONTEXT': {
'client': {