projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68477e8
)
[rutv] Fix rutv player regex
author
Sergey M․
<dstftw@gmail.com>
Tue, 9 Sep 2014 18:09:04 +0000
(
01:09
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 9 Sep 2014 18:09:04 +0000
(
01:09
+0700)
youtube_dl/extractor/rutv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/rutv.py
b/youtube_dl/extractor/rutv.py
index 6c5f5a6804722bc43451f595dcdff56c3a7377b6..f737b4e5fad8cd86e28b094abcb4226927083d2a 100644
(file)
--- a/
youtube_dl/extractor/rutv.py
+++ b/
youtube_dl/extractor/rutv.py
@@
-100,7
+100,7
@@
class RUTVIE(InfoExtractor):
return mobj.group('url')
mobj = re.search(
- r'<meta[^>]+?property=(["\'])og:video\1[^>]+?content=(["\'])(?P<url>http://player\.(?:rutv\.ru|vgtrk\.com)/flash2v/container\.swf\?id=.+?\2)',
+ r'<meta[^>]+?property=(["\'])og:video\1[^>]+?content=(["\'])(?P<url>http
s?
://player\.(?:rutv\.ru|vgtrk\.com)/flash2v/container\.swf\?id=.+?\2)',
webpage)
if mobj:
return mobj.group('url')