From: Sergey M․ Date: Wed, 27 Jan 2016 15:49:39 +0000 (+0600) Subject: [spankbang] Fix formats extraction X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=9339774af274b04a054b0fa151347619e40b5b21;p=youtube-dl [spankbang] Fix formats extraction --- diff --git a/youtube_dl/extractor/spankbang.py b/youtube_dl/extractor/spankbang.py index 7f060b15b..a67db5905 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']+q_(\d+)p', webpage)] + } for height in re.findall(r'<(?:span|li)[^>]+q_(\d+)p', webpage)] self._sort_formats(formats) title = self._html_search_regex(