mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-07 11:42:06 +08:00
修复听歌打卡接口 /scrobble
失效问题 #522
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
# 更新日志
|
||||
### 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}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "NeteaseCloudMusicApi",
|
||||
"version": "3.18.1",
|
||||
"version": "3.18.2",
|
||||
"description": "网易云音乐 NodeJS 版 API",
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
|
Reference in New Issue
Block a user