diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-06-12 19:31:52 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-06-12 19:31:52 +0600 |
commit | 3d535e047162af021b3df6086f9a90d0cb0b6100 (patch) | |
tree | 4b95433b2307cacde167195b149818e9b474dd45 | |
parent | 9872d3110c0d3027dac856e005299f3682ef23ed (diff) |
[tvc] Fix embed regex
-rw-r--r-- | youtube_dl/extractor/tvc.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'<iframe[^>]+?src=(["\'])(?P<url>(?:http://)?(?:www\.)?tvc\.ru/video/iframe/id/[^"]+)\1', webpage) + r'<iframe[^>]+?src=(["\'])(?P<url>(?:http:)?//(?:www\.)?tvc\.ru/video/iframe/id/[^"]+)\1', webpage) if mobj: return mobj.group('url') |