mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-23 00:54:31 +01:00
[spankbang] Check formats (#8398)
This commit is contained in:
parent
58ae24336a
commit
c773c232d8
@ -35,6 +35,7 @@ class SpankBangIE(InfoExtractor):
|
|||||||
'format_id': '%sp' % height,
|
'format_id': '%sp' % height,
|
||||||
'height': int(height),
|
'height': int(height),
|
||||||
} for height in re.findall(r'<(?:span|li|p)[^>]+[qb]_(\d+)p', webpage)]
|
} for height in re.findall(r'<(?:span|li|p)[^>]+[qb]_(\d+)p', webpage)]
|
||||||
|
self._check_formats(formats, video_id)
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
title = self._html_search_regex(
|
title = self._html_search_regex(
|
||||||
|
Loading…
Reference in New Issue
Block a user