projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72ca1d7
)
[vesti] Fix player regex (Closes #2382)
author
Sergey M.
<dstftw@gmail.com>
Fri, 14 Feb 2014 15:26:13 +0000
(22:26 +0700)
committer
Sergey M.
<dstftw@gmail.com>
Fri, 14 Feb 2014 15:26:13 +0000
(22:26 +0700)
youtube_dl/extractor/vesti.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vesti.py
b/youtube_dl/extractor/vesti.py
index 7773cec1447810afe64f9aa057f1905cd73036ab..f51d4dcfa6c0cbda5fb8c53d0421ac099cea8295 100644
(file)
--- 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')