diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-11-11 22:34:49 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-11-11 22:34:49 +0600 |
commit | 699ed30ceed8a0499d17c54742b63469e5ff08ee (patch) | |
tree | 867deb32c4067b0bba76960c7ea32588dbed1eb2 /youtube_dl | |
parent | 9eab37dca0e767a1c9a9d659dd4125ce68d049f9 (diff) |
[novamov] Modernize
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/novamov.py | 3 |
1 files changed, 1 insertions, 2 deletions
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) |