update music

This commit is contained in:
SiHuan 2020-08-03 11:56:59 +08:00
parent 4d6db364bd
commit b13971be67

View file

@ -7,11 +7,11 @@ class Ans(StdAns):
return '不加参数是坏文明!'
# url = 'https://api.imjad.cn/cloudmusic/'
# url = 'https://music.jeeas.cn/v1/search'
url = 'http://mc.sakuya.love:3000/search'
url = 'https://music.jeeas.cn/v1/search'
# url = 'http://mc.sakuya.love:3000/search'
params = {
'limit': 1,
'keywords':self.raw_msg['message'][6:],
's':self.raw_msg['message'][6:],
}
try:
resp = requests.get(url=url,params=params).json()