Skip to content

Commit

Permalink
更新personalized/newsong接口
Browse files Browse the repository at this point in the history
  • Loading branch information
Binaryify committed Mar 25, 2021
1 parent 7e9dc3f commit 3fe3995
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module/personalized_newsong.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
// 推荐新歌

module.exports = (query, request) => {
query.cookie.os = 'pc'
const data = {
type: 'recommend',
limit: query.limit || 10,
areaId: query.areaId || 0,
}
return request(
'POST',
`https://music.163.com/weapi/personalized/newsong`,
`https://music.163.com/api/personalized/newsong`,
data,
{
crypto: 'weapi',
Expand Down

0 comments on commit 3fe3995

Please sign in to comment.