From: Sergey M․ Date: Fri, 5 Feb 2016 16:16:12 +0000 (+0600) Subject: [spankbang] Extend format id regex (Closes #8398) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=58ae24336a0177567ac142734ca8f302f019107b;p=youtube-dl [spankbang] Extend format id regex (Closes #8398) --- 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(