Browse Source

[lifenews] Fix video URL extraction (Closes #2302)

totalwebcasting
Sergey M. 11 years ago
parent
commit
3c49325658
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/lifenews.py

+ 1
- 1
youtube_dl/extractor/lifenews.py View 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')


Loading…
Cancel
Save