From: Sergey M․ Date: Sun, 29 Jun 2014 13:06:47 +0000 (+0700) Subject: [ivi] Add support for embedded URLs X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=36fbc6887f22603444ec70ca2d690be0f3b4f5f7;p=youtube-dl [ivi] Add support for embedded URLs --- diff --git a/youtube_dl/extractor/ivi.py b/youtube_dl/extractor/ivi.py index 528be1524..4027deb70 100644 --- a/youtube_dl/extractor/ivi.py +++ b/youtube_dl/extractor/ivi.py @@ -14,7 +14,7 @@ from ..utils import ( class IviIE(InfoExtractor): IE_DESC = 'ivi.ru' IE_NAME = 'ivi' - _VALID_URL = r'https?://(?:www\.)?ivi\.ru/watch(?:/(?P[^/]+))?/(?P\d+)' + _VALID_URL = r'https?://(?:www\.)?ivi\.ru/(?:watch/(?:[^/]+/)?|video/player\?.*?videoId=)(?P\d+)' _TESTS = [ # Single movie