点歌功能调整API接口
This commit is contained in:
@@ -125,7 +125,7 @@ class MusicPlugin(MessagePluginInterface):
|
|||||||
"""搜索歌曲信息"""
|
"""搜索歌曲信息"""
|
||||||
try:
|
try:
|
||||||
# 尝试QQ音乐API
|
# 尝试QQ音乐API
|
||||||
fallback_api = f"https://www.hhlqilongzhu.cn/api/dg_wyymusic.php?gm={song_name}&n=1&num=1&type=json"
|
fallback_api = f"https://www.hhlqilongzhu.cn/api/joox/juhe_music.php?msg={song_name}&type=json&n=1"
|
||||||
response = requests.get(fallback_api)
|
response = requests.get(fallback_api)
|
||||||
|
|
||||||
if response.status_code != 200:
|
if response.status_code != 200:
|
||||||
|
|||||||
Reference in New Issue
Block a user