mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 17:41:01 +01:00
[radiojavan] Sort formats
This commit is contained in:
parent
4e8cc1e973
commit
8fb2e5a4f5
@ -36,6 +36,7 @@ def _real_extract(self, url):
|
|||||||
'format_id': '%sp' % height,
|
'format_id': '%sp' % height,
|
||||||
'height': int(height),
|
'height': int(height),
|
||||||
} for height, video_path in re.findall(r"RJ\.video(\d+)p\s*=\s*'/?([^']+)'", webpage)]
|
} for height, video_path in re.findall(r"RJ\.video(\d+)p\s*=\s*'/?([^']+)'", webpage)]
|
||||||
|
self._sort_formats(formats)
|
||||||
|
|
||||||
title = self._og_search_title(webpage)
|
title = self._og_search_title(webpage)
|
||||||
thumbnail = self._og_search_thumbnail(webpage)
|
thumbnail = self._og_search_thumbnail(webpage)
|
||||||
|
Loading…
Reference in New Issue
Block a user