aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/vesti.py
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2014-02-14 22:26:13 +0700
committerSergey M. <dstftw@gmail.com>2014-02-14 22:26:13 +0700
commitb71dbc57c43e4bd8742e9f19c68e8b9728810ce8 (patch)
treea547a57c93831c8acc5800ca8bbd88b893ecfad7 /youtube_dl/extractor/vesti.py
parent72ca1d7f45488d746337cdf61a70ff25d9e8411b (diff)
downloadyoutube-dl-b71dbc57c43e4bd8742e9f19c68e8b9728810ce8.tar.xz
[vesti] Fix player regex (Closes #2382)
Diffstat (limited to 'youtube_dl/extractor/vesti.py')
-rw-r--r--youtube_dl/extractor/vesti.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/vesti.py b/youtube_dl/extractor/vesti.py
index 7773cec14..f51d4dcfa 100644
--- a/youtube_dl/extractor/vesti.py
+++ b/youtube_dl/extractor/vesti.py
@@ -87,8 +87,7 @@ class VestiIE(InfoExtractor):
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')