1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[vimeo] remove check for empty formats

This commit is contained in:
remitamine 2015-10-10 20:45:34 +01:00
parent e5c209a1bc
commit fff496c689

View file

@ -405,8 +405,6 @@ class VimeoIE(VimeoBaseInfoExtractor):
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 = {}