diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-05-23 01:01:47 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-05-23 01:01:47 +0600 |
commit | 685c74d315a54154c5a1d9ecee8b212dbee94bc7 (patch) | |
tree | 73ff61af77b3aa292da8996b5165cb46aa48393c /youtube_dl/extractor/rutv.py | |
parent | 69e0f1b445388e4b6f45868d53780d6f8937f56e (diff) |
[rutv] Extend embed URL (Closes #5782)
Diffstat (limited to 'youtube_dl/extractor/rutv.py')
-rw-r--r-- | youtube_dl/extractor/rutv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/rutv.py b/youtube_dl/extractor/rutv.py index 55604637d..d9df06861 100644 --- 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') |