aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/channel9.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/channel9.py')
-rw-r--r--yt_dlp/extractor/channel9.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/yt_dlp/extractor/channel9.py b/yt_dlp/extractor/channel9.py
index 09cacf6d3..258e96ca6 100644
--- a/yt_dlp/extractor/channel9.py
+++ b/yt_dlp/extractor/channel9.py
@@ -5,7 +5,6 @@ import re
from .common import InfoExtractor
from ..utils import (
clean_html,
- ExtractorError,
int_or_none,
parse_iso8601,
qualities,
@@ -187,14 +186,13 @@ class Channel9IE(InfoExtractor):
'quality': quality(q, q_url),
})
- self._sort_formats(formats)
-
slides = content_data.get('Slides')
zip_file = content_data.get('ZipFile')
if not formats and not slides and not zip_file:
- raise ExtractorError(
+ self.raise_no_formats(
'None of recording, slides or zip are available for %s' % content_path)
+ self._sort_formats(formats)
subtitles = {}
for caption in content_data.get('Captions', []):