1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-09 12:50:23 -05:00

Update _call_api

This commit is contained in:
Michaël De Boey 2025-03-08 11:04:31 +01:00
parent d6eaff7b74
commit 9ecca7c92a
No known key found for this signature in database

View file

@ -103,7 +103,7 @@ def _call_api(self, video_id, client='null', id_token=None, version='v2'):
}, separators=(',', ':')).encode())['vrtPlayerToken']
return self._download_json(
f'https://media-services-public.vrt.be/media-aggregator/{version}/media-items/{video_id}',
f'https://media-services-public.vrt.be/vualto-video-aggregator-web/rest/external/{version}/videos/{video_id}',
video_id, 'Downloading API JSON', 'Failed to download API JSON', query={
'client': client,
'vrtPlayerToken': vrt_player_token,