diff options
Diffstat (limited to 'hypervideo_dl/extractor/mojvideo.py')
-rw-r--r-- | hypervideo_dl/extractor/mojvideo.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/mojvideo.py b/hypervideo_dl/extractor/mojvideo.py index 165e658..0421f3f 100644 --- a/hypervideo_dl/extractor/mojvideo.py +++ b/hypervideo_dl/extractor/mojvideo.py @@ -1,7 +1,6 @@ # coding: utf-8 from __future__ import unicode_literals -import re from .common import InfoExtractor from ..utils import ( @@ -26,7 +25,7 @@ class MojvideoIE(InfoExtractor): } def _real_extract(self, url): - mobj = re.match(self._VALID_URL, url) + mobj = self._match_valid_url(url) video_id = mobj.group('id') display_id = mobj.group('display_id') |