From c9074b24b98efe18096256ab680535f50691f67d Mon Sep 17 00:00:00 2001 From: Kyomotoi <1172294279@qq.com> Date: Sat, 7 Nov 2020 14:49:51 +0800 Subject: [Upload] --- ATRI/plugins/plugin_anime/body.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ATRI/plugins/plugin_anime/body.py') diff --git a/ATRI/plugins/plugin_anime/body.py b/ATRI/plugins/plugin_anime/body.py index a68dc48..d7dae84 100644 --- a/ATRI/plugins/plugin_anime/body.py +++ b/ATRI/plugins/plugin_anime/body.py @@ -17,6 +17,7 @@ from utils.utils_request import request_get class SauceNAO: + """搜图请求主体""" def __init__(self, api_key, output_type=2, @@ -54,7 +55,7 @@ def resultRepo(user: str, key: str, img_url: str): print(data) msg0 += f'[CQ:at,qq={user}]\n' - msg0 += f"SauceNAO INFO:\n" + msg0 += "SauceNAO INFO:\n" msg0 += f"[CQ:image,file={data['header'].get('thumbnail', None)}]\n" msg0 += f"Like:{data['header'].get('similarity', 0)}%\n" msg0 += f"Title:{data['data'].get('title', None)}\n" -- cgit v1.2.3