From bdfe607b95b94fa64222e081ed371e32db63be88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E5=88=80=E9=B1=BC?= <9903082+qdyovo@user.noreply.gitee.com> Date: Thu, 7 Nov 2024 14:15:34 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E9=A5=BC=E5=B9=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/songRequest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/songRequest.js b/apps/songRequest.js index 53196a4..3f2f56e 100644 --- a/apps/songRequest.js +++ b/apps/songRequest.js @@ -263,7 +263,7 @@ export class songRequest extends plugin { axios.get(pickSongUrl, { headers: { "User-Agent": COMMON_USER_AGENT, - // "Cookie": this.neteaseCookie + "Cookie": this.neteaseCookie }, }).then(async resp => { // 国内解决方案,替换API后这里也需要修改 @@ -326,7 +326,7 @@ export class songRequest extends plugin { 'musicType': typelist } // 一般这个情况是VIP歌曲 (如果没有url或者是国内,公用接口暂时不可用,必须自建并且ck可用状态才能进行高质量解析) - if (!isCkExpired || this.useLocalNeteaseAPI || url == null) { + if (!isCkExpired || url == null) { url = await this.musicTempApi(e, musicInfo, title); } else { // 拥有ck,并且有效,直接进行解析