[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 @@ def _extract_player_response(self, client, video_id, master_ytcfg, player_ytcfg,
yt_query = { yt_query = {
'videoId': video_id, 'videoId': video_id,
} }
if _split_innertube_client(client)[0] == 'android': if _split_innertube_client(client)[0] in ('android', 'android_embedscreen'):
yt_query['params'] = 'CgIQBg==' yt_query['params'] = 'CgIIAQ=='
pp_arg = self._configuration_arg('player_params', [None], casesense=True)[0] pp_arg = self._configuration_arg('player_params', [None], casesense=True)[0]
if pp_arg: if pp_arg: