mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
[feat] 新增星评馆简要评论获取
This commit is contained in:
parent
77a0dcda3b
commit
35b2c8454b
@ -4108,6 +4108,11 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
|
||||
|
||||
**调用例子:** `/style/artist?tagId=1000`
|
||||
|
||||
### 云村星评馆 - 简要评论
|
||||
|
||||
说明: 调用此接口可以获取首页推荐的星评馆评论信息
|
||||
|
||||
**接口地址:** `/starpick/comments/summary`
|
||||
|
||||
## 离线访问此文档
|
||||
|
||||
|
23
module/starpick_comments_summary.js
Normal file
23
module/starpick_comments_summary.js
Normal file
@ -0,0 +1,23 @@
|
||||
// 云村星评馆 - 简要评论列表
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
cursor: JSON.stringify({
|
||||
offset: 0,
|
||||
blockCodeOrderList: ['HOMEPAGE_BLOCK_NEW_HOT_COMMENT'],
|
||||
refresh: true,
|
||||
}),
|
||||
}
|
||||
return request(
|
||||
'POST',
|
||||
`https://interface3.music.163.com/eapi/homepage/block/page`,
|
||||
data,
|
||||
{
|
||||
crypto: 'eapi',
|
||||
cookie: query.cookie,
|
||||
proxy: query.proxy,
|
||||
url: '/api/homepage/block/page',
|
||||
realIP: query.realIP,
|
||||
},
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user