0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-03 03:57:26 +00:00

[spankbang] Check formats (#8398)

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

View file

@ -35,6 +35,7 @@ def _real_extract(self, url):
'format_id': '%sp' % height,
'height': int(height),
} for height in re.findall(r'<(?:span|li|p)[^>]+[qb]_(\d+)p', webpage)]
self._check_formats(formats, video_id)
self._sort_formats(formats)
title = self._html_search_regex(