mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-23 02:32:16 +00:00
Fix token URL
This commit is contained in:
parent
da3d1f4321
commit
577368116b
1 changed files with 2 additions and 1 deletions
|
@ -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']
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue