1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-26 11:03:44 +01: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',