1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-25 21:02:59 +08:00

[novamov] Improve _VALID_URL

This commit is contained in:
Sergey M. 2014-02-24 22:01:19 +07:00
parent 5bb67dbfea
commit d6f0d86649

View File

@ -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',