From: Sergey M․ Date: Fri, 12 Jun 2015 13:31:52 +0000 (+0600) Subject: [tvc] Fix embed regex X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=3d535e047162af021b3df6086f9a90d0cb0b6100;p=youtube-dl [tvc] Fix embed regex --- diff --git a/youtube_dl/extractor/tvc.py b/youtube_dl/extractor/tvc.py index 6b5d80aee..3a4f393fc 100644 --- a/youtube_dl/extractor/tvc.py +++ b/youtube_dl/extractor/tvc.py @@ -27,7 +27,7 @@ class TVCIE(InfoExtractor): @classmethod def _extract_url(cls, webpage): mobj = re.search( - r']+?src=(["\'])(?P(?:http://)?(?:www\.)?tvc\.ru/video/iframe/id/[^"]+)\1', webpage) + r']+?src=(["\'])(?P(?:http:)?//(?:www\.)?tvc\.ru/video/iframe/id/[^"]+)\1', webpage) if mobj: return mobj.group('url')