From: Sergey M․ Date: Wed, 11 Nov 2015 16:34:49 +0000 (+0600) Subject: [novamov] Modernize X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=699ed30ceed8a0499d17c54742b63469e5ff08ee;p=youtube-dl [novamov] Modernize --- diff --git a/youtube_dl/extractor/novamov.py b/youtube_dl/extractor/novamov.py index e0bf6d1bc..6b15fc2e5 100644 --- a/youtube_dl/extractor/novamov.py +++ b/youtube_dl/extractor/novamov.py @@ -42,8 +42,7 @@ class NovaMovIE(InfoExtractor): } def _real_extract(self, url): - mobj = re.match(self._VALID_URL, url) - video_id = mobj.group('id') + video_id = self._match_id(url) url = 'http://%s/video/%s' % (self._HOST, video_id)