mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[rts] Check formats (Closes #5711)
This commit is contained in:
parent
25c3a7348f
commit
70d0d43b5e
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue