1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-16 14:27:53 +00:00

Fix token URL

This commit is contained in:
Bart Broere 2024-03-01 13:15:52 +01:00
parent da3d1f4321
commit 577368116b

View File

@ -30,7 +30,8 @@ from ..utils import (
class NPOBaseIE(InfoExtractor): class NPOBaseIE(InfoExtractor):
def _get_token(self, video_id): def _get_token(self, video_id):
return self._download_json( return self._download_json(
'http://ida.omroep.nl/app.php/auth', video_id, 'https://npo.nl/start/api/domain/player-token?productId=%s' % video_id,
video_id,
note='Downloading token')['token'] note='Downloading token')['token']