提交 d37906ec 编写于 作者: B binaryify

修复听歌打卡接口 `/scrobble` 失效问题 #522

上级 ec140017
# 更新日志
### 3.18.2 | 2019.07.03
- 修复听歌打卡接口 `/scrobble` 失效问题
### 3.18.1 | 2019.06.30
- 评论接口增加 `before` 参数以获取超过5000条评论数据 [#521](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/521)
......
......@@ -1596,11 +1596,11 @@ mp3url 不能直接用 , 可通过 `/song/url` 接口传入歌曲 id 获取具
**必选参数 :** `id`: 歌曲 id, `sourceid`: 歌单或专辑 id
**可选参数 :** `time`: 歌曲播放时间
**可选参数 :** `time`: 歌曲播放时间,单位为秒
**接口地址 :** `/scrobble`
**调用例子 :** `/scrobble?id=482369360&&sourceid=35571977`
**调用例子 :** `/scrobble?id=518066366&sourceid=36780169&time=291`
### 热门歌手
......
......@@ -7,7 +7,7 @@ module.exports = (query, request) => {
json: {
download: 0,
end: 'playend',
id: query.songid,
id: query.id,
sourceId: query.sourceid,
time: query.time,
type: 'song',
......@@ -15,6 +15,7 @@ module.exports = (query, request) => {
}
}])
}
return request(
'POST', `https://music.163.com/weapi/feedback/weblog`, data,
{crypto: 'weapi', cookie: query.cookie, proxy: query.proxy}
......
{
"name": "NeteaseCloudMusicApi",
"version": "3.18.1",
"version": "3.18.2",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册