[bilibili] Add Dolby Vision video download support

This commit is contained in:
SuperSodaSea 2022-01-29 02:44:00 +08:00 committed by GitHub
parent ed2c0b32fe
commit 5aeae31fa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,8 @@ class Bilibili(VideoExtractor):
stream_types = [ stream_types = [
{'id': 'hdflv2_8k', 'quality': 127, 'audio_quality': 30280, {'id': 'hdflv2_8k', 'quality': 127, 'audio_quality': 30280,
'container': 'FLV', 'video_resolution': '4320p', 'desc': '超高清 8K'}, 'container': 'FLV', 'video_resolution': '4320p', 'desc': '超高清 8K'},
{'id': 'hdflv2_dolby', 'quality': 126, 'audio_quality': 30280,
'container': 'FLV', 'video_resolution': '3840p', 'desc': '杜比视界'},
{'id': 'hdflv2', 'quality': 125, 'audio_quality': 30280, {'id': 'hdflv2', 'quality': 125, 'audio_quality': 30280,
'container': 'FLV', 'video_resolution': '3840p', 'desc': '真彩 HDR'}, 'container': 'FLV', 'video_resolution': '3840p', 'desc': '真彩 HDR'},
{'id': 'hdflv2_4k', 'quality': 120, 'audio_quality': 30280, {'id': 'hdflv2_4k', 'quality': 120, 'audio_quality': 30280,