projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69e0f1b
)
[rutv] Extend embed URL (Closes #5782)
author
Sergey M․
<dstftw@gmail.com>
Fri, 22 May 2015 19:01:47 +0000
(
01:01
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 22 May 2015 19:01:47 +0000
(
01:01
+0600)
youtube_dl/extractor/rutv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/rutv.py
b/youtube_dl/extractor/rutv.py
index 55604637dca22533cd765529dcb2abfb759fd9c1..d9df0686133a6772deb1e58260069857620afc58 100644
(file)
--- a/
youtube_dl/extractor/rutv.py
+++ b/
youtube_dl/extractor/rutv.py
@@
-104,7
+104,7
@@
class RUTVIE(InfoExtractor):
@classmethod
def _extract_url(cls, webpage):
mobj = re.search(
- r'<iframe[^>]+?src=(["\'])(?P<url>https?://player\.
rutv\.ru
/(?:iframe/(?:swf|video|live)/id|index/iframe/cast_id)/.+?)\1', webpage)
+ r'<iframe[^>]+?src=(["\'])(?P<url>https?://player\.
(?:rutv\.ru|vgtrk\.com)
/(?:iframe/(?:swf|video|live)/id|index/iframe/cast_id)/.+?)\1', webpage)
if mobj:
return mobj.group('url')