projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a98e4
)
[ivi] Add support for embedded URLs
author
Sergey M․
<dstftw@gmail.com>
Sun, 29 Jun 2014 13:06:47 +0000
(20:06 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 29 Jun 2014 13:06:47 +0000
(20:06 +0700)
youtube_dl/extractor/ivi.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ivi.py
b/youtube_dl/extractor/ivi.py
index 528be1524ae645f7bb8b36ee2ac2378fd91561be..4027deb7071806fcba313a80cebe694e9f96580e 100644
(file)
--- 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