mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 22:21:17 +01:00
[lifenews] Fix video URL extraction (Closes #2302)
This commit is contained in:
parent
bb1cd2bea1
commit
3c49325658
|
@ -31,7 +31,7 @@ def _real_extract(self, url):
|
|||
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…
Reference in New Issue
Block a user