支持不安全的http请求
This commit is contained in:
@@ -398,7 +398,7 @@ class GuessSongPlugin(MessagePluginInterface):
|
||||
|
||||
# 调用原有API获取播放链接
|
||||
detail_api = f"{self.music_single_api}".format(search_query=search_query)
|
||||
detail_response = requests.get(detail_api)
|
||||
detail_response = requests.get(detail_api, verify=False)
|
||||
|
||||
if detail_response.status_code != 200:
|
||||
self.LOG.error(f"获取歌曲详情失败,状态码: {detail_response.status_code}")
|
||||
|
||||
Reference in New Issue
Block a user