mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 17:18:01 +01:00
[vimeo] remove check for empty formats
This commit is contained in:
parent
e5c209a1bc
commit
fff496c689
1 changed files with 0 additions and 2 deletions
|
@ -405,8 +405,6 @@ def _real_extract(self, url):
|
||||||
formats = self._extract_m3u8_formats(hls['all'], video_id, 'mp4', 'm3u8_native', 0, 'hls', fatal=False)
|
formats = self._extract_m3u8_formats(hls['all'], video_id, 'mp4', 'm3u8_native', 0, 'hls', fatal=False)
|
||||||
for key in ('other', 'sd', 'hd'):
|
for key in ('other', 'sd', 'hd'):
|
||||||
formats += files[key]
|
formats += files[key]
|
||||||
if len(formats) == 0:
|
|
||||||
raise ExtractorError('No known codec found')
|
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
subtitles = {}
|
subtitles = {}
|
||||||
|
|
Loading…
Reference in a new issue