aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-05 22:16:40 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-05 22:16:40 +0600
commitc773c232d80580c6662b5c957c830f75ccbb766b (patch)
tree398249f1441cdea9e071052c7b3ebe6b46c1d5fe
parent58ae24336a0177567ac142734ca8f302f019107b (diff)
[spankbang] Check formats (#8398)
-rw-r--r--youtube_dl/extractor/spankbang.py1
1 files changed, 1 insertions, 0 deletions
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(