Leave android params in for now

This commit is contained in:
coletdjnz 2024-03-29 11:30:41 +13:00
parent 63abd79b4a
commit dfc2f0cd0d
No known key found for this signature in database
GPG Key ID: 91984263BB39894A
1 changed files with 3 additions and 0 deletions

View File

@ -3603,6 +3603,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
yt_query = {
'videoId': video_id,
}
# todo: remove - deprecated/broken
if _split_innertube_client(client)[0] == 'android':
yt_query['params'] = 'CgIQBg=='
pp_arg = self._configuration_arg('player_params', [None], casesense=True)[0]
if pp_arg: