summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2014-02-04 21:31:25 +0700
committerSergey M. <dstftw@gmail.com>2014-02-04 21:31:25 +0700
commit3c493256584fa5563df1e7963a40cb82ba1d1d01 (patch)
tree26102d65336ce6d2d6f4ce1dda7eeaba3e381477
parentbb1cd2bea1aa36bdcc0a194ba546ccc62757d4c5 (diff)
downloadyoutube-dl-3c493256584fa5563df1e7963a40cb82ba1d1d01.tar.gz
youtube-dl-3c493256584fa5563df1e7963a40cb82ba1d1d01.tar.xz
youtube-dl-3c493256584fa5563df1e7963a40cb82ba1d1d01.zip
[lifenews] Fix video URL extraction (Closes #2302)
-rw-r--r--youtube_dl/extractor/lifenews.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/lifenews.py b/youtube_dl/extractor/lifenews.py
index 4e4035b76..051259857 100644
--- a/youtube_dl/extractor/lifenews.py
+++ b/youtube_dl/extractor/lifenews.py
@@ -31,7 +31,7 @@ class LifeNewsIE(InfoExtractor):
         webpage = self._download_webpage('http://lifenews.ru/mobile/news/%s' % video_id, video_id, 'Downloading page')
 
         video_url = self._html_search_regex(
-            r'<video.*?src="([^"]+)"></video>', webpage, 'video URL')
+            r'<video.*?src="([^"]+)".*?></video>', webpage, 'video URL')
         
         thumbnail = self._html_search_regex(
             r'<video.*?poster="([^"]+)".*?"></video>', webpage, 'video thumbnail')