]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[normalboots] Fix video url extraction
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 23 Feb 2014 17:06:51 +0000 (18:06 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 23 Feb 2014 17:06:51 +0000 (18:06 +0100)
youtube_dl/extractor/normalboots.py

index 81b7855b0b23680398909eb74e57eeb3d21dc4bc..1dce5430fe90a98d66b84dc3ac98d065a08119c8 100644 (file)
@@ -49,7 +49,7 @@ class NormalbootsIE(InfoExtractor):
             
         player_url = self._html_search_regex(r'<iframe\swidth="[0-9]+"\sheight="[0-9]+"\ssrc="(?P<url>[\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<file>[0-9A-Za-z-_\.]+)'", player_page, 'file')
+        video_url = self._html_search_regex(r"file:\s'(?P<file>[^']+\.mp4)'", player_page, 'file')
         
         info['url'] = video_url
         info['title'] = video_title