0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

[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 @@ def find_video(result):
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)