diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-10-28 22:49:10 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-10-28 22:49:10 +0700 |
commit | 022218f2f0dce112c0e2b15923c3a368bdfe4d6a (patch) | |
tree | 65d5cc0698112ae8f411c740858b8f6f526d1e83 /youtube_dl/extractor | |
parent | 08c7d3dadec053ff5535ab2dc91f550ef4788297 (diff) | |
download | youtube-dl-022218f2f0dce112c0e2b15923c3a368bdfe4d6a.tar.xz |
[ivi] Add support for ivi.tv
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/ivi.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/youtube_dl/extractor/ivi.py b/youtube_dl/extractor/ivi.py index cb51cef2d..86c014b07 100644 --- a/youtube_dl/extractor/ivi.py +++ b/youtube_dl/extractor/ivi.py @@ -15,7 +15,7 @@ from ..utils import ( class IviIE(InfoExtractor): IE_DESC = 'ivi.ru' IE_NAME = 'ivi' - _VALID_URL = r'https?://(?:www\.)?ivi\.ru/(?:watch/(?:[^/]+/)?|video/player\?.*?videoId=)(?P<id>\d+)' + _VALID_URL = r'https?://(?:www\.)?ivi\.(?:ru|tv)/(?:watch/(?:[^/]+/)?|video/player\?.*?videoId=)(?P<id>\d+)' _GEO_BYPASS = False _GEO_COUNTRIES = ['RU'] @@ -65,7 +65,11 @@ class IviIE(InfoExtractor): 'thumbnail': r're:^https?://.*\.jpg$', }, 'skip': 'Only works from Russia', - } + }, + { + 'url': 'https://www.ivi.tv/watch/33560/', + 'only_matching': True, + }, ] # Sorted by quality |