From 7ac9d34cc44142c2c6906327dce10bc9f2203993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E9=BB=8E?= <65600313+DawnNights@users.noreply.github.com> Date: Fri, 27 Aug 2021 07:31:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DQQ=E7=82=B9=E6=AD=8C=E5=B0=81?= =?UTF-8?q?=E9=9D=A2=E9=93=BE=E6=8E=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin_music/selecter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin_music/selecter.go b/plugin_music/selecter.go index e40d0ebd..db4ae577 100644 --- a/plugin_music/selecter.go +++ b/plugin_music/selecter.go @@ -177,9 +177,9 @@ func qqmusic(keyword string) message.MessageSegment { }.Encode() audio := gjson.ParseBytes(netGet(music.String(), h2)) // 获得音乐封面 - image := "https://y.gtimg.cn/music/photo_new" + + image := "https://y.gtimg.cn/music/photo_new/" + find( - "src=\"//y.gtimg.cn/music/photo_new", + `photo_new\u002F`, "?max_age", string( netGet("https://y.qq.com/n/yqq/song/"+info.Get("songmid").Str+".html", nil),