Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
移除云村热评接口(官方下架) #1111, 更新app version
Browse files Browse the repository at this point in the history
  • Loading branch information
Binaryify committed Feb 18, 2021
1 parent 25cc98f commit 60f017c
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 25 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# 更新日志
### 4.0.4 | 2021.2.18
- 移除云村热评接口(官方下架) [#1111](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1111)
- 更新 app version

### 4.0.3 | 2021.1.28
- 修复云盘接口中文音乐信息乱码的问题 [#1108](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1108)

Expand Down
2 changes: 1 addition & 1 deletion module/artist_new_mv.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = (query, request) => {
query.cookie.os = 'ios'
query.cookie.appver = '8.0.00'
query.cookie.appver = '8.1.20'
const data = {
limit: query.limit || 20,
startTimestamp: query.before || Date.now(),
Expand Down
2 changes: 1 addition & 1 deletion module/artist_new_song.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = (query, request) => {
query.cookie.os = 'ios'
query.cookie.appver = '8.0.00'
query.cookie.appver = '8.1.20'
const data = {
limit: query.limit || 20,
startTimestamp: query.before || Date.now(),
Expand Down
16 changes: 0 additions & 16 deletions module/comment_hotwall_list.js

This file was deleted.

2 changes: 1 addition & 1 deletion module/comment_hug_list.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { resourceTypeMap } = require('../util/config.json')
module.exports = (query, request) => {
query.cookie.os = 'ios'
query.cookie.appver = '7.3.27'
query.cookie.appver = '8.1.20'
query.type = resourceTypeMap[query.type || 0]
const threadId = query.type + query.sid
const data = {
Expand Down
2 changes: 1 addition & 1 deletion module/homepage_block_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// query.refresh 是否刷新数据
module.exports = (query, request) => {
query.cookie.os = 'ios'
query.cookie.appver = '8.0.00'
query.cookie.appver = '8.1.20'
const data = { refresh: query.refresh || true }
return request(
'POST',
Expand Down
2 changes: 1 addition & 1 deletion module/homepage_dragon_ball.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = (query, request) => {
query.cookie.MUSIC_A = config.anonymous_token
const data = {}
query.cookie.os = 'ios'
query.cookie.appver = '8.0.00'
query.cookie.appver = '8.1.20'
return request(
'POST',
`https://music.163.com/eapi/homepage/dragon/ball/static`,
Expand Down
2 changes: 1 addition & 1 deletion module/hug_comment.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { resourceTypeMap } = require('../util/config.json')
module.exports = (query, request) => {
query.cookie.os = 'ios'
query.cookie.appver = '8.0.00'
query.cookie.appver = '8.1.20'
query.type = resourceTypeMap[query.type || 0]
const threadId = query.type + query.sid
const data = {
Expand Down
2 changes: 1 addition & 1 deletion module/send_song.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = (query, request) => {
query.cookie.os = 'ios'
query.cookie.appver = '8.0.00'
query.cookie.appver = '8.1.20'
const data = {
id: query.id,
msg: query.msg || '',
Expand Down
2 changes: 1 addition & 1 deletion module/user_event.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = (query, request) => {
query.cookie.os = 'ios'
query.cookie.appver = '8.0.0'
query.cookie.appver = '8.1.20'
const data = {
getcounts: true,
time: query.lasttime || -1,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "NeteaseCloudMusicApi",
"version": "4.0.3",
"version": "4.0.4",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",
Expand Down

1 comment on commit 60f017c

@vercel
Copy link

@vercel vercel bot commented on 60f017c Feb 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.