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) => {
|
module.exports = (query, request) => {
|
||||||
|
query.cookie.os = 'pc'
|
||||||
const data = {
|
const data = {
|
||||||
type: 'recommend',
|
type: 'recommend',
|
||||||
limit: query.limit || 10,
|
limit: query.limit || 10,
|
||||||
@ -8,7 +9,7 @@ module.exports = (query, request) => {
|
|||||||
}
|
}
|
||||||
return request(
|
return request(
|
||||||
'POST',
|
'POST',
|
||||||
`https://music.163.com/weapi/personalized/newsong`,
|
`https://music.163.com/api/personalized/newsong`,
|
||||||
data,
|
data,
|
||||||
{
|
{
|
||||||
crypto: 'weapi',
|
crypto: 'weapi',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user