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:
parent
d6eaff7b74
commit
9ecca7c92a
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ def _call_api(self, video_id, client='null', id_token=None, version='v2'):
|
||||||
}, separators=(',', ':')).encode())['vrtPlayerToken']
|
}, separators=(',', ':')).encode())['vrtPlayerToken']
|
||||||
|
|
||||||
return self._download_json(
|
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={
|
video_id, 'Downloading API JSON', 'Failed to download API JSON', query={
|
||||||
'client': client,
|
'client': client,
|
||||||
'vrtPlayerToken': vrt_player_token,
|
'vrtPlayerToken': vrt_player_token,
|
||||||
|
|
Loading…
Reference in a new issue