diff options
Diffstat (limited to 'hypervideo_dl/extractor/keezmovies.py')
-rw-r--r-- | hypervideo_dl/extractor/keezmovies.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/keezmovies.py b/hypervideo_dl/extractor/keezmovies.py index c3eb74c..027f43c 100644 --- a/hypervideo_dl/extractor/keezmovies.py +++ b/hypervideo_dl/extractor/keezmovies.py @@ -35,7 +35,7 @@ class KeezMoviesIE(InfoExtractor): }] def _extract_info(self, url, fatal=True): - mobj = re.match(self._VALID_URL, url) + mobj = self._match_valid_url(url) video_id = mobj.group('id') display_id = (mobj.group('display_id') if 'display_id' in mobj.groupdict() @@ -101,7 +101,7 @@ class KeezMoviesIE(InfoExtractor): if not formats: if 'title="This video is no longer available"' in webpage: - raise ExtractorError( + self.raise_no_formats( 'Video %s is no longer available' % video_id, expected=True) try: |