[nexx] Better error message for unsupported format

Related: #1637
This commit is contained in:
pukkandan 2021-11-12 03:59:32 +05:30
parent c1dc0ee56e
commit 48e9310660
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

View File

@ -385,8 +385,7 @@ class NexxIE(InfoExtractor):
elif cdn == 'free':
formats = self._extract_free_formats(video, video_id)
else:
# TODO: reverse more cdns
assert False
self.raise_no_formats(f'{cdn} formats are currently not supported', video_id)
self._sort_formats(formats)