[extractor/bilibili] Extract flac
with premium account (#4759)
Authored by: jackyyf
This commit is contained in:
parent
9f9c85dda4
commit
de49cdbe9d
1 changed files with 3 additions and 0 deletions
|
@ -218,6 +218,9 @@ class BiliBiliIE(InfoExtractor):
|
|||
|
||||
durl = traverse_obj(video_info, ('dash', 'video'))
|
||||
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 = []
|
||||
|
||||
RENDITIONS = ('qn=80&quality=80&type=', 'quality=2&type=mp4')
|
||||
|
|
Loading…
Reference in a new issue