[novamov] Add support for mobile URLs
authorSergey M․ <dstftw@gmail.com>
Sun, 13 Dec 2015 13:16:01 +0000 (19:16 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 13 Dec 2015 13:16:01 +0000 (19:16 +0600)
youtube_dl/extractor/novamov.py

index 422fb993da92310effc6c03dabf5100a6899e79c..97f0549d390e6969520d38535167f5ecbb8f1d70 100644 (file)
@@ -17,7 +17,7 @@ class NovaMovIE(InfoExtractor):
     IE_NAME = 'novamov'
     IE_DESC = 'NovaMov'
 
-    _VALID_URL_TEMPLATE = r'http://(?:(?:www\.)?%(host)s/(?:file|video)/|(?:(?:embed|www)\.)%(host)s/embed\.php\?(?:.*?&)?v=)(?P<id>[a-z\d]{13})'
+    _VALID_URL_TEMPLATE = r'http://(?:(?:www\.)?%(host)s/(?:file|video|mobile/#/videos)/|(?:(?:embed|www)\.)%(host)s/embed\.php\?(?:.*?&)?v=)(?P<id>[a-z\d]{13})'
     _VALID_URL = _VALID_URL_TEMPLATE % {'host': 'novamov\.com'}
 
     _HOST = 'www.novamov.com'