1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-27 00:37:55 +01:00

[spankbang] Extend format id regex (Closes #8398)

This commit is contained in:
Sergey M․ 2016-02-05 22:16:12 +06:00
parent e06e75c7e7
commit 58ae24336a

View File

@ -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(