commit
f0bbd71b78
1 changed files with 3 additions and 2 deletions
|
@ -7,11 +7,12 @@ class Ans(StdAns):
|
||||||
return '不加参数是坏文明!'
|
return '不加参数是坏文明!'
|
||||||
|
|
||||||
# url = 'https://api.imjad.cn/cloudmusic/'
|
# 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://mc.sakuya.love:3000/search'
|
||||||
|
url = 'http://inuyasha.love:8001/search'
|
||||||
params = {
|
params = {
|
||||||
'limit': 1,
|
'limit': 1,
|
||||||
's':self.raw_msg['message'][6:],
|
'keywords':self.raw_msg['message'][6:],
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
resp = requests.get(url=url,params=params).json()
|
resp = requests.get(url=url,params=params).json()
|
||||||
|
|
Loading…
Reference in a new issue