mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-23 12:40:11 +09:00
Fix token URL
This commit is contained in:
parent
da3d1f4321
commit
577368116b
@ -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']
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user