Browse Source

[vesti] Fix player regex (Closes #2382)

Sergey M. 11 years ago
parent
commit
b71dbc57c4
1 changed files with 1 additions and 2 deletions
  1. 1 2
      youtube_dl/extractor/vesti.py

+ 1 - 2
youtube_dl/extractor/vesti.py

@@ -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+)[^"]*"',
-                page)
+                r'<iframe.+?src="http://player\.rutv\.ru/iframe/(?P<type>[^/]+)/id/(?P<id>\d+)[^"]*".*?></iframe>', page)
 
 
             if not mobj:
             if not mobj:
                 raise ExtractorError('No media found')
                 raise ExtractorError('No media found')