1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

修改网易云音乐url格式 (#2146)

* 修改网易云音乐url格式
This commit is contained in:
Azusa 2023-05-30 17:26:22 +08:00 committed by GitHub
parent 42606a825d
commit bad3c86912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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