aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-06-29 20:06:47 +0700
committerSergey M․ <dstftw@gmail.com>2014-06-29 20:06:47 +0700
commit36fbc6887f22603444ec70ca2d690be0f3b4f5f7 (patch)
treeb62b06efb3f77a8664430a0cb909c26abba83515
parenta8a98e43f214e6fe5d322dca3534a8ec926890b4 (diff)
[ivi] Add support for embedded URLs
-rw-r--r--youtube_dl/extractor/ivi.py2
1 files changed, 1 insertions, 1 deletions
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<compilationid>[^/]+))?/(?P<videoid>\d+)'
+ _VALID_URL = r'https?://(?:www\.)?ivi\.ru/(?:watch/(?:[^/]+/)?|video/player\?.*?videoId=)(?P<videoid>\d+)'
_TESTS = [
# Single movie