[novamov] Modernize
authorSergey M․ <dstftw@gmail.com>
Wed, 11 Nov 2015 16:34:49 +0000 (22:34 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 11 Nov 2015 16:34:49 +0000 (22:34 +0600)
youtube_dl/extractor/novamov.py

index e0bf6d1bc477e3a91de0da24143b003878c37626..6b15fc2e530a84e99ed194fee0024f8ec6c4c2b8 100644 (file)
@@ -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)