From: Sergey M․ Date: Sun, 13 Dec 2015 13:16:01 +0000 (+0600) Subject: [novamov] Add support for mobile URLs X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=ee86e2c6d714bf9641075623bf01effac5240fa8;p=youtube-dl [novamov] Add support for mobile URLs --- diff --git a/youtube_dl/extractor/novamov.py b/youtube_dl/extractor/novamov.py index 422fb993d..97f0549d3 100644 --- a/youtube_dl/extractor/novamov.py +++ b/youtube_dl/extractor/novamov.py @@ -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[a-z\d]{13})' + _VALID_URL_TEMPLATE = r'http://(?:(?:www\.)?%(host)s/(?:file|video|mobile/#/videos)/|(?:(?:embed|www)\.)%(host)s/embed\.php\?(?:.*?&)?v=)(?P[a-z\d]{13})' _VALID_URL = _VALID_URL_TEMPLATE % {'host': 'novamov\.com'} _HOST = 'www.novamov.com'