mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
🐞 fix:修复网易云MV无法解析
This commit is contained in:
parent
56ef54aecf
commit
29970ec1c5
@ -1615,7 +1615,7 @@ export class tools extends plugin {
|
||||
musicUrlReg2.exec(message)?.[3] ||
|
||||
musicUrlReg.exec(message)?.[2] ||
|
||||
musicUrlReg3.exec(message)?.[2] ||
|
||||
/\bid=(\d+)/.exec(message)[1];
|
||||
/(?<!user)id=(\d+)/.exec(message)[1];
|
||||
// 如果没有下载地址跳出if
|
||||
if (_.isEmpty(id)) {
|
||||
e.reply(`识别:网易云音乐,解析失败!`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user