From 1c1c850b51d37275e5c490b4b874010e53e8fc73 Mon Sep 17 00:00:00 2001 From: binaryify Date: Tue, 7 May 2024 10:46:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BA=91=E7=9B=98=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.MD | 3 +++ module/cloud.js | 3 ++- package.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 3d9a05a..0821d57 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,7 @@ # 更新日志 +### 4.18.3 | 2024.05.07 +- 云盘上传问题修复 + ### 4.18.2 | 2024.04.30 - 配置和 typo 修复 diff --git a/module/cloud.js b/module/cloud.js index 50a18b3..03a9596 100644 --- a/module/cloud.js +++ b/module/cloud.js @@ -10,7 +10,8 @@ module.exports = async (query, request) => { .replace('.' + ext, '') .replace(/\s/g, '') .replace(/\./g, '_') - + query.cookie.os = 'pc' + query.cookie.appver = '2.9.7' const bitrate = 999000 if (!query.songFile) { return Promise.reject({ diff --git a/package.json b/package.json index 1fbe9a8..1330024 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NeteaseCloudMusicApi", - "version": "4.18.2", + "version": "4.18.3", "description": "网易云音乐 NodeJS 版 API", "scripts": { "start": "node app.js",