]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[lifenews] Fix video URL extraction (Closes #2302)
authorSergey M. <dstftw@gmail.com>
Tue, 4 Feb 2014 14:31:25 +0000 (21:31 +0700)
committerSergey M. <dstftw@gmail.com>
Tue, 4 Feb 2014 14:31:25 +0000 (21:31 +0700)
youtube_dl/extractor/lifenews.py

index 4e4035b76a8de9697b99c367476ee372ee9bdb6c..0512598578847b35611f81b539afeb860cdd0013 100644 (file)
@@ -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')