[feat]<api/lyric>: 添加逐字歌词接口

This commit is contained in:
Kengwang
2023-01-07 22:07:58 +08:00
committed by GitHub
parent 985a054658
commit 912998b212
3 changed files with 47 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
// 新版歌词 - 包含逐字歌词
module.exports = (query, request) => {
const data = {
id: query.id,
cp: false,
tv: 0,
lv: 0,
rv: 0,
kv: 0,
yv: 0,
ytv: 0,
yrv: 0
}
return request(
'POST',
`https://interface3.music.163.com/eapi/song/lyric/v1`,
data,
{
crypto: 'eapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
url: '/api/song/lyric/v1'
},
)
}