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:
parent
7b577122e1
commit
ab93699b6a
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue