mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
更新personalized/newsong接口
This commit is contained in:
parent
7e9dc3fe5f
commit
3fe3995f14
@ -1,6 +1,7 @@
|
||||
// 推荐新歌
|
||||
|
||||
module.exports = (query, request) => {
|
||||
query.cookie.os = 'pc'
|
||||
const data = {
|
||||
type: 'recommend',
|
||||
limit: query.limit || 10,
|
||||
@ -8,7 +9,7 @@ module.exports = (query, request) => {
|
||||
}
|
||||
return request(
|
||||
'POST',
|
||||
`https://music.163.com/weapi/personalized/newsong`,
|
||||
`https://music.163.com/api/personalized/newsong`,
|
||||
data,
|
||||
{
|
||||
crypto: 'weapi',
|
||||
|
Loading…
x
Reference in New Issue
Block a user