mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
🐞 fix: 修复饼干
This commit is contained in:
parent
729a84d3f3
commit
bdfe607b95
@ -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,并且有效,直接进行解析
|
||||
|
Loading…
x
Reference in New Issue
Block a user