1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[vesti] Fix player regex (Closes #2382)

This commit is contained in:
Sergey M. 2014-02-14 22:26:13 +07:00
parent 72ca1d7f45
commit b71dbc57c4

View file

@ -87,8 +87,7 @@ class VestiIE(InfoExtractor):
video_id = mobj.group('id') video_id = mobj.group('id')
else: else:
mobj = re.search( mobj = re.search(
r'<div.+?id="current-video-holder".*?>\s*<iframe src="http://player\.rutv\.ru/iframe/(?P<type>[^/]+)/id/(?P<id>\d+)[^"]*"', r'<iframe.+?src="http://player\.rutv\.ru/iframe/(?P<type>[^/]+)/id/(?P<id>\d+)[^"]*".*?></iframe>', page)
page)
if not mobj: if not mobj:
raise ExtractorError('No media found') raise ExtractorError('No media found')