1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-25 02:07:44 +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):
def _get_token(self, video_id):
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']