commit: 699ed30ceed8a0499d17c54742b63469e5ff08ee
parent 9eab37dca0e767a1c9a9d659dd4125ce68d049f9
Author: Sergey M․ <dstftw@gmail.com>
Date: Wed, 11 Nov 2015 22:34:49 +0600
[novamov] Modernize
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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)