mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-22 10:52:52 +08:00
[novamov] Improve _VALID_URL
This commit is contained in:
parent
5bb67dbfea
commit
d6f0d86649
@ -10,7 +10,7 @@ from ..utils import (
|
|||||||
|
|
||||||
|
|
||||||
class NovamovIE(InfoExtractor):
|
class NovamovIE(InfoExtractor):
|
||||||
_VALID_URL = r'http://(?:(?:www\.)?novamov\.com/video/|(?:(?:embed|www)\.)novamov\.com/embed\.php\?v=)(?P<videoid>[a-z\d]{13})'
|
_VALID_URL = r'http://(?:(?:www\.)?novamov\.com/video/|(?:(?:embed|www)\.)novamov\.com/embed\.php\?(?:.*?&)?v=)(?P<videoid>[a-z\d]{13})'
|
||||||
|
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'http://www.novamov.com/video/4rurhn9x446jj',
|
'url': 'http://www.novamov.com/video/4rurhn9x446jj',
|
||||||
|
Loading…
Reference in New Issue
Block a user