Skip to content

Commit

Permalink
修复QQ点歌封面链接问题
Browse files Browse the repository at this point in the history
  • Loading branch information
DawnNights authored Aug 26, 2021
1 parent 5b8fd14 commit 7ac9d34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin_music/selecter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 7ac9d34

Please sign in to comment.