mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 15:25:49 +00:00
[rts] Check formats (Closes #5711)
This commit is contained in:
parent
25c3a7348f
commit
70d0d43b5e
@ -190,6 +190,7 @@ def extract_bitrate(url):
|
|||||||
'tbr': media['rate'] or extract_bitrate(media['url']),
|
'tbr': media['rate'] or extract_bitrate(media['url']),
|
||||||
} for media in info['media'] if media.get('rate')])
|
} for media in info['media'] if media.get('rate')])
|
||||||
|
|
||||||
|
self._check_formats(formats, video_id)
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user