Skip to content

Commit

Permalink
[ie/youtube] Update android params
Browse files Browse the repository at this point in the history
Discovered by LuanRT - LuanRT/YouTube.js#624

Closes yt-dlp#9554
  • Loading branch information
pukkandan authored and aalsuwaidi committed Apr 21, 2024
1 parent 9754bda commit 5df06bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yt_dlp/extractor/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -3602,8 +3602,8 @@ def _extract_player_response(self, client, video_id, master_ytcfg, player_ytcfg,
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:
Expand Down

0 comments on commit 5df06bf

Please sign in to comment.