X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fspankbang.py;h=3cfa671ed40722ceaa7da647a0b2bf0104a74de5;hb=17b598d30cae2c287f3556f874ddf0fc5d028aec;hp=7f060b15b69908a71ff45a44f13e92ab0089ff5b;hpb=d97aae75724fc301243a00c5a71ac93b235d62fe;p=youtube-dl diff --git a/youtube_dl/extractor/spankbang.py b/youtube_dl/extractor/spankbang.py index 7f060b15b..3cfa671ed 100644 --- a/youtube_dl/extractor/spankbang.py +++ b/youtube_dl/extractor/spankbang.py @@ -34,11 +34,11 @@ 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( - r'(?s)

(.+?)

', webpage, 'title') + r'(?s)]*>(.+?)', webpage, 'title') description = self._search_regex( r'class="desc"[^>]*>([^<]+)', webpage, 'description', default=None)