aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/normalboots.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-02-23 18:06:51 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-02-23 18:06:51 +0100
commitffe8fe356a14e38ab8b5e8329fce015d93b93bc8 (patch)
tree68eb131c88262bc1babff8f60b2d0af4b1ee4dc9 /youtube_dl/extractor/normalboots.py
parentbc2f773b4f738c7fdaac1786d4796c69c5b57295 (diff)
downloadyoutube-dl-ffe8fe356a14e38ab8b5e8329fce015d93b93bc8.zip
youtube-dl-ffe8fe356a14e38ab8b5e8329fce015d93b93bc8.tar.gz
youtube-dl-ffe8fe356a14e38ab8b5e8329fce015d93b93bc8.tar.bz2
[normalboots] Fix video url extraction
Diffstat (limited to 'youtube_dl/extractor/normalboots.py')
-rw-r--r--youtube_dl/extractor/normalboots.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/normalboots.py b/youtube_dl/extractor/normalboots.py
index 81b7855..1dce543 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'<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