aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-05 22:16:12 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-05 22:16:12 +0600
commit58ae24336a0177567ac142734ca8f302f019107b (patch)
tree5656ba807bbf06de55b371ee4de433b6172ecb2c /youtube_dl
parente06e75c7e7794c759077f2bb462dcf5d94a21760 (diff)
[spankbang] Extend format id regex (Closes #8398)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/spankbang.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/spankbang.py b/youtube_dl/extractor/spankbang.py
index 3cfa671ed..b14c01230 100644
--- a/youtube_dl/extractor/spankbang.py
+++ b/youtube_dl/extractor/spankbang.py
@@ -34,7 +34,7 @@ class SpankBangIE(InfoExtractor):
'ext': 'mp4',
'format_id': '%sp' % height,
'height': int(height),
- } for height in re.findall(r'<(?:span|li)[^>]+q_(\d+)p', webpage)]
+ } for height in re.findall(r'<(?:span|li|p)[^>]+[qb]_(\d+)p', webpage)]
self._sort_formats(formats)
title = self._html_search_regex(