aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/medaltv.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/medaltv.py')
-rw-r--r--hypervideo_dl/extractor/medaltv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/medaltv.py b/hypervideo_dl/extractor/medaltv.py
index 67bb4de..2ece5aa 100644
--- a/hypervideo_dl/extractor/medaltv.py
+++ b/hypervideo_dl/extractor/medaltv.py
@@ -103,11 +103,11 @@ class MedalTVIE(InfoExtractor):
error = clip.get('error')
if not formats and error:
if error == 404:
- raise ExtractorError(
+ self.raise_no_formats(
'That clip does not exist.',
expected=True, video_id=video_id)
else:
- raise ExtractorError(
+ self.raise_no_formats(
'An unknown error occurred ({0}).'.format(error),
video_id=video_id)