[nexx] Better error message for unsupported format

Related: #1637
pull/1642/head
pukkandan 3 years ago
parent c1dc0ee56e
commit 48e9310660
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

@ -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)

Loading…
Cancel
Save