From fd271ec0edf56887219e5428f5807f158896b635 Mon Sep 17 00:00:00 2001 From: zhiyu1998 Date: Thu, 16 Mar 2023 18:14:10 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E8=A7=A3=E5=86=B3netease?= =?UTF-8?q?=E7=9A=84=E5=AE=89=E5=8D=93=E6=97=A0=E6=B3=95=E5=88=86=E4=BA=AB?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/neteasepro.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/neteasepro.js b/apps/neteasepro.js index d13417f..9231336 100644 --- a/apps/neteasepro.js +++ b/apps/neteasepro.js @@ -151,7 +151,7 @@ export class neteasepro extends plugin { const musicUrlReg = /(http:|https:)\/\/music.163.com\/song\/media\/outer\/url\?id=(\d+)/; const musicUrlReg2 = /(http:|https:)\/\/y.music.163.com\/m\/song\?(.*)&id=(\d+)/; const id = - musicUrlReg2.exec(message)[2] || + musicUrlReg2.exec(message)[3] || musicUrlReg.exec(message)[2] || /id=(\d+)/.exec(message)[1]; // 是游客