修复网易云点歌API失效(405)问题 (#303)

* Update main.go

* Update selecter.go

* Update struct.go

* Update main.go
This commit is contained in:
方柳煜
2022-07-06 13:44:24 +08:00
committed by GitHub
parent e6c00e9b68
commit 192c2a8bd6
3 changed files with 7 additions and 6 deletions

View File

@@ -138,7 +138,7 @@ func kugou(keyword string) message.MessageSegment {
// cloud163 返回网易云音乐卡片
func cloud163(keyword string) (msg message.MessageSegment) {
requestURL := "https://autumnfish.cn/search?keywords=" + url.QueryEscape(keyword)
requestURL := "https://music.cyrilstudio.top/search?keywords=" + url.QueryEscape(keyword)
data, err := web.GetData(requestURL)
if err != nil {
msg = message.Text("ERROR:", err)