From 577368116bd01244a5640e0247ed3cb876d9ac52 Mon Sep 17 00:00:00 2001 From: Bart Broere Date: Fri, 1 Mar 2024 13:15:52 +0100 Subject: [PATCH] Fix token URL --- youtube_dl/extractor/npo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/npo.py b/youtube_dl/extractor/npo.py index aef007e6a..918768035 100644 --- a/youtube_dl/extractor/npo.py +++ b/youtube_dl/extractor/npo.py @@ -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']