[tvc] Fix embed regex
authorSergey M․ <dstftw@gmail.com>
Fri, 12 Jun 2015 13:31:52 +0000 (19:31 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 12 Jun 2015 13:31:52 +0000 (19:31 +0600)
youtube_dl/extractor/tvc.py

index 6b5d80aeed9f7458a8136f705c386d213b1e5840..3a4f393fcf6d79f3f42970db7aab853d5efedf84 100644 (file)
@@ -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')