From bad3c86912d071efffb801847c11489093ccaf82 Mon Sep 17 00:00:00 2001 From: Azusa <61765965+Azusa-Yuan@users.noreply.github.com> Date: Tue, 30 May 2023 17:26:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BD=91=E6=98=93=E4=BA=91?= =?UTF-8?q?=E9=9F=B3=E4=B9=90url=E6=A0=BC=E5=BC=8F=20(#2146)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 修改网易云音乐url格式 --- coolq/cqcode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coolq/cqcode.go b/coolq/cqcode.go index c7751b5..a08a275 100644 --- a/coolq/cqcode.go +++ b/coolq/cqcode.go @@ -713,7 +713,7 @@ func (bot *CQBot) ConvertElement(spec *onebot.Spec, elem msg.Element, sourceType MusicType: message.CloudMusic, Title: info.Get("name").String(), Summary: artistName, - Url: "https://y.music.163.com/m/song/" + id, + Url: "https://music.163.com/song/?id=" + id, PictureUrl: info.Get("album.picUrl").String(), MusicUrl: "https://music.163.com/song/media/outer/url?id=" + id, }, nil