From: Jaime Marquínez Ferrándiz Date: Sun, 23 Feb 2014 17:06:51 +0000 (+0100) Subject: [normalboots] Fix video url extraction X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=ffe8fe356a14e38ab8b5e8329fce015d93b93bc8;p=youtube-dl [normalboots] Fix video url extraction --- diff --git a/youtube_dl/extractor/normalboots.py b/youtube_dl/extractor/normalboots.py index 81b7855b0..1dce5430f 100644 --- a/youtube_dl/extractor/normalboots.py +++ b/youtube_dl/extractor/normalboots.py @@ -49,7 +49,7 @@ class NormalbootsIE(InfoExtractor): player_url = self._html_search_regex(r'[\S]+)"', webpage, 'url') player_page = self._download_webpage(player_url, video_id) - video_url = u'http://player.screenwavemedia.com/' + self._html_search_regex(r"'file':\s'(?P[0-9A-Za-z-_\.]+)'", player_page, 'file') + video_url = self._html_search_regex(r"file:\s'(?P[^']+\.mp4)'", player_page, 'file') info['url'] = video_url info['title'] = video_title