1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-05-20 17:45:45 -05:00

Fix _fetch_video_token

This commit is contained in:
Michaël De Boey 2025-03-08 10:44:00 +01:00
parent 7b577122e1
commit ab93699b6a
No known key found for this signature in database

View file

@ -289,9 +289,9 @@ def _fetch_video_token(self):
if not refresh_token:
return None
self._download_webpage(
'https://www.vrt.be/vrtmax/sso/login', None,
'Refreshing video token', query={'scope': 'openid,mid'})
self._download_json(
'https://www.vrt.be/vrtmax/sso/refresh', None,
note='Refreshing video token', errnote='Failed to refresh video token')
video_token = self._get_video_token_from_cookie()
if not video_token: