mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 05:30:07 +08:00
修复QQ点歌封面链接问题
This commit is contained in:
parent
5b8fd14d09
commit
7ac9d34cc4
@ -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),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user