diff options
Diffstat (limited to 'hypervideo_dl/extractor/cjsw.py')
-rw-r--r-- | hypervideo_dl/extractor/cjsw.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/cjsw.py b/hypervideo_dl/extractor/cjsw.py index 505bdbe..1dea0d7 100644 --- a/hypervideo_dl/extractor/cjsw.py +++ b/hypervideo_dl/extractor/cjsw.py @@ -1,7 +1,6 @@ # coding: utf-8 from __future__ import unicode_literals -import re from .common import InfoExtractor from ..utils import ( @@ -30,7 +29,7 @@ class CJSWIE(InfoExtractor): }] def _real_extract(self, url): - mobj = re.match(self._VALID_URL, url) + mobj = self._match_valid_url(url) program, episode_id = mobj.group('program', 'id') audio_id = '%s/%s' % (program, episode_id) |