From c773c232d80580c6662b5c957c830f75ccbb766b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Fri, 5 Feb 2016 22:16:40 +0600 Subject: [PATCH] [spankbang] Check formats (#8398) --- youtube_dl/extractor/spankbang.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/extractor/spankbang.py b/youtube_dl/extractor/spankbang.py index b14c01230..6299bfd91 100644 --- a/youtube_dl/extractor/spankbang.py +++ b/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( -- 2.39.5