修复获取用户粉丝列表接口只能获取1000个的问题

This commit is contained in:
binaryify 2019-06-09 19:08:25 +08:00
parent 6932995fc3
commit b20e9d7733
3 changed files with 20 additions and 10 deletions

View File

@ -1,4 +1,7 @@
# 更新日志 # 更新日志
### 3.13.1 | 2019.06.09
- 修复获取用户粉丝列表接口只能获取1000个的问题
### 3.13.0 | 2019.05.19 ### 3.13.0 | 2019.05.19
- 新增eapi算法 (via:[#491](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/491)) - 新增eapi算法 (via:[#491](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/491))

View File

@ -5,9 +5,16 @@ module.exports = (query, request) => {
userId: query.uid, userId: query.uid,
limit: query.limit || 30, limit: query.limit || 30,
offset: query.offset || 0 offset: query.offset || 0
} };
return request( return request(
'POST', `https://music.163.com/weapi/user/getfolloweds`, data, "POST",
{crypto: 'weapi', cookie: query.cookie, proxy: query.proxy} `https://music.163.com/eapi/user/getfolloweds/${query.uid}`,
) data,
} {
crypto: "eapi",
cookie: query.cookie,
proxy: query.proxy,
url: "/api/user/getfolloweds"
}
);
};

View File

@ -1,6 +1,6 @@
{ {
"name": "NeteaseCloudMusicApi", "name": "NeteaseCloudMusicApi",
"version": "3.13.0", "version": "3.13.1",
"description": "网易云音乐 NodeJS 版 API", "description": "网易云音乐 NodeJS 版 API",
"scripts": { "scripts": {
"start": "node app.js", "start": "node app.js",