浏览代码

[vimeo] remove check for empty formats

remitamine 10 年之前
父节点
当前提交
fff496c689
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      youtube_dl/extractor/vimeo.py

+ 0 - 2
youtube_dl/extractor/vimeo.py

@@ -405,8 +405,6 @@ class VimeoIE(VimeoBaseInfoExtractor):
             formats = self._extract_m3u8_formats(hls['all'], video_id, 'mp4', 'm3u8_native', 0, 'hls', fatal=False)
         for key in ('other', 'sd', 'hd'):
             formats += files[key]
-        if len(formats) == 0:
-            raise ExtractorError('No known codec found')
         self._sort_formats(formats)
 
         subtitles = {}