projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb1cd2b
)
[lifenews] Fix video URL extraction (Closes #2302)
author
Sergey M.
<dstftw@gmail.com>
Tue, 4 Feb 2014 14:31:25 +0000
(21:31 +0700)
committer
Sergey M.
<dstftw@gmail.com>
Tue, 4 Feb 2014 14:31:25 +0000
(21:31 +0700)
youtube_dl/extractor/lifenews.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/lifenews.py
b/youtube_dl/extractor/lifenews.py
index 4e4035b76a8de9697b99c367476ee372ee9bdb6c..0512598578847b35611f81b539afeb860cdd0013 100644
(file)
--- 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')