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
a3c5c4e46f
commit
6cfbd21b9a
@ -119,7 +119,7 @@ def extract_formats(self, play_info):
|
|||||||
**traverse_obj(play_info, {
|
**traverse_obj(play_info, {
|
||||||
'quality': ('quality', {int_or_none}),
|
'quality': ('quality', {int_or_none}),
|
||||||
'format_id': ('quality', {str_or_none}),
|
'format_id': ('quality', {str_or_none}),
|
||||||
'format': ('quality', {lambda x: format_names.get(x)}),
|
'format_note': ('quality', {lambda x: format_names.get(x)}),
|
||||||
'resolution': ('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)}),
|
'duration': ('timelength', {lambda x: float_or_none(x, scale=1000)}),
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user