Merge pull request #21 from weilinfox/master

fix music
This commit is contained in:
SiHuan 2020-08-21 11:04:17 +08:00 committed by GitHub
commit 2ad6c22cae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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