mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-11-29 12:55:17 +00:00
[extractor/bilibili] Extract flac with premium account (#4759)
Authored by: jackyyf
This commit is contained in:
@@ -218,6 +218,9 @@ class BiliBiliIE(InfoExtractor):
|
|||||||
|
|
||||||
durl = traverse_obj(video_info, ('dash', 'video'))
|
durl = traverse_obj(video_info, ('dash', 'video'))
|
||||||
audios = traverse_obj(video_info, ('dash', 'audio')) or []
|
audios = traverse_obj(video_info, ('dash', 'audio')) or []
|
||||||
|
flac_audio = traverse_obj(video_info, ('dash', 'flac', 'audio'))
|
||||||
|
if flac_audio:
|
||||||
|
audios.append(flac_audio)
|
||||||
entries = []
|
entries = []
|
||||||
|
|
||||||
RENDITIONS = ('qn=80&quality=80&type=', 'quality=2&type=mp4')
|
RENDITIONS = ('qn=80&quality=80&type=', 'quality=2&type=mp4')
|
||||||
|
|||||||
Reference in New Issue
Block a user