[novamov] Improve _VALID_URL
authorSergey M. <dstftw@gmail.com>
Mon, 24 Feb 2014 15:01:19 +0000 (22:01 +0700)
committerSergey M. <dstftw@gmail.com>
Mon, 24 Feb 2014 15:01:19 +0000 (22:01 +0700)
youtube_dl/extractor/novamov.py

index 6af8d934c8baa18b457fe1bdc3e96f42b5a82588..22a3824573b2dab2283de2a643ba9442d2172c22 100644 (file)
@@ -10,7 +10,7 @@ from ..utils import (
 
 
 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 = {
         'url': 'http://www.novamov.com/video/4rurhn9x446jj',