diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-02-08 23:02:05 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-02-08 23:02:05 +0700 |
commit | ce53320b11747a083cd616238a88c215df6962f4 (patch) | |
tree | 7e5090a2117b56bb1bebc9ec6c934fcad5b32e08 /youtube_dl | |
parent | 51b0557d1e488f99731f6e6a8d7364adf439fbf5 (diff) |
[myvi] Extend _VALID_URL
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/myvi.py | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/youtube_dl/extractor/myvi.py b/youtube_dl/extractor/myvi.py index 0cf9dd06a..75d286365 100644 --- a/youtube_dl/extractor/myvi.py +++ b/youtube_dl/extractor/myvi.py @@ -12,14 +12,18 @@ class MyviIE(SprutoBaseIE): (?: https?:// (?:www\.)? - myvi\.(?:ru/player|tv)/ + myvi\. (?: + (?:ru/player|tv)/ (?: - embed/html| - flash| - api/Video/Get - )/| - content/preloader\.swf\?.*\bid= + (?: + embed/html| + flash| + api/Video/Get + )/| + content/preloader\.swf\?.*\bid= + )| + ru/watch/ )| myvi: ) @@ -48,6 +52,9 @@ class MyviIE(SprutoBaseIE): 'url': 'http://myvi.ru/player/flash/ocp2qZrHI-eZnHKQBK4cZV60hslH8LALnk0uBfKsB-Q4WnY26SeGoYPi8HWHxu0O30', 'only_matching': True, }, { + 'url': 'https://www.myvi.ru/watch/YwbqszQynUaHPn_s82sx0Q2', + 'only_matching': True, + }, { 'url': 'myvi:YwbqszQynUaHPn_s82sx0Q2', 'only_matching': True, }] |