mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 19:52:11 +00:00
[myvi] Extend _VALID_URL
This commit is contained in:
parent
51b0557d1e
commit
ce53320b11
1 changed files with 13 additions and 6 deletions
|
@ -12,7 +12,9 @@ class MyviIE(SprutoBaseIE):
|
||||||
(?:
|
(?:
|
||||||
https?://
|
https?://
|
||||||
(?:www\.)?
|
(?:www\.)?
|
||||||
myvi\.(?:ru/player|tv)/
|
myvi\.
|
||||||
|
(?:
|
||||||
|
(?:ru/player|tv)/
|
||||||
(?:
|
(?:
|
||||||
(?:
|
(?:
|
||||||
embed/html|
|
embed/html|
|
||||||
|
@ -21,6 +23,8 @@ class MyviIE(SprutoBaseIE):
|
||||||
)/|
|
)/|
|
||||||
content/preloader\.swf\?.*\bid=
|
content/preloader\.swf\?.*\bid=
|
||||||
)|
|
)|
|
||||||
|
ru/watch/
|
||||||
|
)|
|
||||||
myvi:
|
myvi:
|
||||||
)
|
)
|
||||||
(?P<id>[\da-zA-Z_-]+)
|
(?P<id>[\da-zA-Z_-]+)
|
||||||
|
@ -47,6 +51,9 @@ class MyviIE(SprutoBaseIE):
|
||||||
}, {
|
}, {
|
||||||
'url': 'http://myvi.ru/player/flash/ocp2qZrHI-eZnHKQBK4cZV60hslH8LALnk0uBfKsB-Q4WnY26SeGoYPi8HWHxu0O30',
|
'url': 'http://myvi.ru/player/flash/ocp2qZrHI-eZnHKQBK4cZV60hslH8LALnk0uBfKsB-Q4WnY26SeGoYPi8HWHxu0O30',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://www.myvi.ru/watch/YwbqszQynUaHPn_s82sx0Q2',
|
||||||
|
'only_matching': True,
|
||||||
}, {
|
}, {
|
||||||
'url': 'myvi:YwbqszQynUaHPn_s82sx0Q2',
|
'url': 'myvi:YwbqszQynUaHPn_s82sx0Q2',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
|
Loading…
Reference in a new issue