瀏覽代碼

[spankbang] Check formats (#8398)

Sergey M․ 9 年之前
父節點
當前提交
c773c232d8
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      youtube_dl/extractor/spankbang.py

+ 1 - 0
youtube_dl/extractor/spankbang.py

@@ -35,6 +35,7 @@ class SpankBangIE(InfoExtractor):
             'format_id': '%sp' % height,
             'height': int(height),
         } for height in re.findall(r'<(?:span|li|p)[^>]+[qb]_(\d+)p', webpage)]
+        self._check_formats(formats, video_id)
         self._sort_formats(formats)
 
         title = self._html_search_regex(