This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e9c775
commit 793c276
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -346,6 +346,7 @@ banner({ type:0 }).then(res=>{ | |
224. 获取 VIP 信息 | ||
225. 音乐人签到 | ||
226. 发送文本动态 | ||
227. 获取客户端歌曲下载 url | ||
|
||
## 更新日志 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// 获取客户端歌曲下载链接 | ||
|
||
module.exports = (query, request) => { | ||
const data = { | ||
id: query.id, | ||
br: parseInt(query.br || 999000), | ||
} | ||
return request( | ||
'POST', | ||
`https://interface.music.163.com/eapi/song/enhance/download/url`, | ||
data, | ||
{ | ||
crypto: 'eapi', | ||
cookie: query.cookie, | ||
proxy: query.proxy, | ||
realIP: query.realIP, | ||
url: '/api/song/enhance/download/url', | ||
}, | ||
) | ||
} |