Browse Source

[ivi] Add support for embedded URLs

totalwebcasting
Sergey M․ 11 years ago
parent
commit
36fbc6887f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/ivi.py

+ 1
- 1
youtube_dl/extractor/ivi.py View File

@ -14,7 +14,7 @@ from ..utils import (
class IviIE(InfoExtractor): class IviIE(InfoExtractor):
IE_DESC = 'ivi.ru' IE_DESC = 'ivi.ru'
IE_NAME = 'ivi' 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 = [ _TESTS = [
# Single movie # Single movie


Loading…
Cancel
Save