Skip to content

Commit c3c0685

Browse files
author
MoeMagicMango
authored
fix:换成网易云官方的api (#440)
1 parent c4c3f79 commit c3c0685

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/music/selecter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func kugou(keyword string) message.MessageSegment {
138138

139139
// cloud163 返回网易云音乐卡片
140140
func cloud163(keyword string) (msg message.MessageSegment) {
141-
requestURL := "https://music.cyrilstudio.top/search?keywords=" + url.QueryEscape(keyword)
141+
requestURL := "http://music.163.com/api/search/get/web?type=1&limit=1&s=" + url.QueryEscape(keyword)
142142
data, err := web.GetData(requestURL)
143143
if err != nil {
144144
msg = message.Text("ERROR: ", err)

0 commit comments

Comments
 (0)