aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-10 00:07:26 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-10 00:07:26 +0600
commit83423254ccdf60cb8756aaf7900c929c1cf1a3ef (patch)
tree4b70e6f5cc8a0db5b9b7d1601161c70d3fc92a26 /youtube_dl
parent1c20ddc966a69a241027c2d9a132b9caf3d0ebde (diff)
[myvi:embed] Extend _VALID_URL
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/myvi.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/myvi.py b/youtube_dl/extractor/myvi.py
index 9f4330f50..a14a5365b 100644
--- a/youtube_dl/extractor/myvi.py
+++ b/youtube_dl/extractor/myvi.py
@@ -7,7 +7,7 @@ from .vimple import SprutoBaseIE
class MyviEmbedIE(SprutoBaseIE):
_VALID_URL = r'''(?x)
https?://
- myvi\.ru/player/
+ myvi\.(?:ru/player|tv)/
(?:
(?:
embed/html|
@@ -33,6 +33,9 @@ class MyviEmbedIE(SprutoBaseIE):
}, {
'url': 'http://myvi.ru/player/api/Video/Get/oOy4euHA6LVwNNAjhD9_Jq5Ha2Qf0rtVMVFMAZav8wObeRTZaCATzucDQIDph8hQU0',
'only_matching': True,
+ }, {
+ 'url': 'http://myvi.tv/embed/html/oTGTNWdyz4Zwy_u1nraolwZ1odenTd9WkTnRfIL9y8VOgHYqOHApE575x4_xxS9Vn0?ap=0',
+ 'only_matching': True,
}]
def _real_extract(self, url):