diff options
author | Yen Chi Hsuan <[email protected]> | 2016-06-18 12:27:39 +0800 |
---|---|---|
committer | Yen Chi Hsuan <[email protected]> | 2016-06-18 12:27:39 +0800 |
commit | 1b6cf16be7e8a771ca79e7eb161db9ff59238dab (patch) | |
tree | fd45b5adec91940d8de53a11d664ea81818a0e5e /youtube_dl | |
parent | 26264cb0566309bcdc7f0f2a8ee376bf205fc675 (diff) | |
download | youtube-dl-1b6cf16be7e8a771ca79e7eb161db9ff59238dab.tar.gz youtube-dl-1b6cf16be7e8a771ca79e7eb161db9ff59238dab.zip |
[aftonbladet] Fix extraction
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/aftonbladet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/aftonbladet.py b/youtube_dl/extractor/aftonbladet.py index d548592fe..5766b4fe8 100644 --- a/youtube_dl/extractor/aftonbladet.py +++ b/youtube_dl/extractor/aftonbladet.py @@ -24,10 +24,10 @@ class AftonbladetIE(InfoExtractor): webpage = self._download_webpage(url, video_id) # find internal video meta data - meta_url = 'http://aftonbladet-play.drlib.aptoma.no/video/%s.json' + meta_url = 'http://aftonbladet-play-metadata.cdn.drvideo.aptoma.no/video/%s.json' player_config = self._parse_json(self._html_search_regex( r'data-player-config="([^"]+)"', webpage, 'player config'), video_id) - internal_meta_id = player_config['videoId'] + internal_meta_id = player_config['aptomaVideoId'] internal_meta_url = meta_url % internal_meta_id internal_meta_json = self._download_json( internal_meta_url, video_id, 'Downloading video meta data') |