mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-22 14:43:10 +00:00
修复获取用户粉丝列表接口只能获取1000个的问题
This commit is contained in:
parent
6932995fc3
commit
b20e9d7733
@ -1,4 +1,7 @@
|
||||
# 更新日志
|
||||
### 3.13.1 | 2019.06.09
|
||||
- 修复获取用户粉丝列表接口只能获取1000个的问题
|
||||
|
||||
### 3.13.0 | 2019.05.19
|
||||
- 新增eapi算法 (via:[#491](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/491))
|
||||
|
||||
|
@ -1,13 +1,20 @@
|
||||
// 关注TA的人(粉丝)
|
||||
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
userId: query.uid,
|
||||
limit: query.limit || 30,
|
||||
offset: query.offset || 0
|
||||
const data = {
|
||||
userId: query.uid,
|
||||
limit: query.limit || 30,
|
||||
offset: query.offset || 0
|
||||
};
|
||||
return request(
|
||||
"POST",
|
||||
`https://music.163.com/eapi/user/getfolloweds/${query.uid}`,
|
||||
data,
|
||||
{
|
||||
crypto: "eapi",
|
||||
cookie: query.cookie,
|
||||
proxy: query.proxy,
|
||||
url: "/api/user/getfolloweds"
|
||||
}
|
||||
return request(
|
||||
'POST', `https://music.163.com/weapi/user/getfolloweds`, data,
|
||||
{crypto: 'weapi', cookie: query.cookie, proxy: query.proxy}
|
||||
)
|
||||
}
|
||||
);
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "NeteaseCloudMusicApi",
|
||||
"version": "3.13.0",
|
||||
"version": "3.13.1",
|
||||
"description": "网易云音乐 NodeJS 版 API",
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user