mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-04 23:35:04 +00:00
[vesti] Fix player regex (Closes #2382)
This commit is contained in:
parent
72ca1d7f45
commit
b71dbc57c4
1 changed files with 1 additions and 2 deletions
|
@ -87,8 +87,7 @@ def _real_extract(self, url):
|
|||
video_id = mobj.group('id')
|
||||
else:
|
||||
mobj = re.search(
|
||||
r'<div.+?id="current-video-holder".*?>\s*<iframe src="http://player\.rutv\.ru/iframe/(?P<type>[^/]+)/id/(?P<id>\d+)[^"]*"',
|
||||
page)
|
||||
r'<iframe.+?src="http://player\.rutv\.ru/iframe/(?P<type>[^/]+)/id/(?P<id>\d+)[^"]*".*?></iframe>', page)
|
||||
|
||||
if not mobj:
|
||||
raise ExtractorError('No media found')
|
||||
|
|
Loading…
Reference in a new issue