mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-06 02:49:35 +02:00
Update yt_dlp/extractor/bilibili.py
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
This commit is contained in:
parent
6cfbd21b9a
commit
90be49f1c3
@ -120,9 +120,9 @@ def extract_formats(self, play_info):
|
||||
'quality': ('quality', {int_or_none}),
|
||||
'format_id': ('quality', {str_or_none}),
|
||||
'format_note': ('quality', {lambda x: format_names.get(x)}),
|
||||
'resolution': ('quality', {lambda x: format_names.get(x)}),
|
||||
'duration': ('timelength', {lambda x: float_or_none(x, scale=1000)}),
|
||||
}),
|
||||
**parse_resolution(format_names.get(play_info.get('quality'))),
|
||||
})
|
||||
return formats
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user