From: Sergey M․ Date: Fri, 22 May 2015 19:01:47 +0000 (+0600) Subject: [rutv] Extend embed URL (Closes #5782) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=685c74d315a54154c5a1d9ecee8b212dbee94bc7;p=youtube-dl [rutv] Extend embed URL (Closes #5782) --- 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']+?src=(["\'])(?Phttps?://player\.rutv\.ru/(?:iframe/(?:swf|video|live)/id|index/iframe/cast_id)/.+?)\1', webpage) + r']+?src=(["\'])(?Phttps?://player\.(?:rutv\.ru|vgtrk\.com)/(?:iframe/(?:swf|video|live)/id|index/iframe/cast_id)/.+?)\1', webpage) if mobj: return mobj.group('url')