[tvc] Fix embed regex

pull/5882/head
Sergey M․ 2015-06-12 19:31:52 +06:00
parent 9872d3110c
commit 3d535e0471
1 changed files with 1 additions and 1 deletions

View 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')