mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-11 03:09:35 +00:00
Update to ytdl-commit-8a158a9
[NHK] Use new API URL
6508688e88
Closes #2337, Closes #4063
This commit is contained in:
@@ -677,6 +677,11 @@ class BilibiliAudioIE(BilibiliAudioBaseIE):
|
||||
'vcodec': 'none'
|
||||
}]
|
||||
|
||||
for a_format in formats:
|
||||
a_format.setdefault('http_headers', {}).update({
|
||||
'Referer': url,
|
||||
})
|
||||
|
||||
song = self._call_api('song/info', au_id)
|
||||
title = song['title']
|
||||
statistic = song.get('statistic') or {}
|
||||
|
Reference in New Issue
Block a user