[ie/youtube] Update android params

Discovered by LuanRT - https://github.com/LuanRT/YouTube.js/pull/624

Closes #9554
This commit is contained in:
pukkandan 2024-04-01 01:24:59 +05:30
parent a2d0840739
commit e7b17fce14
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

View File

@ -3602,8 +3602,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
yt_query = {
'videoId': video_id,
}
if _split_innertube_client(client)[0] == 'android':
yt_query['params'] = 'CgIQBg=='
if _split_innertube_client(client)[0] in ('android', 'android_embedscreen'):
yt_query['params'] = 'CgIIAQ=='
pp_arg = self._configuration_arg('player_params', [None], casesense=True)[0]
if pp_arg: