From a60286c328b0c6fee75c6041b55d31f9cb92c72f Mon Sep 17 00:00:00 2001 From: PercyDan <50285552+PercyDan54@users.noreply.github.com> Date: Sun, 20 Nov 2022 16:52:51 +0800 Subject: [PATCH] Fix pid search --- plugins/pid_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pid_search.py b/plugins/pid_search.py index dfd75277..6e1483af 100755 --- a/plugins/pid_search.py +++ b/plugins/pid_search.py @@ -50,7 +50,7 @@ headers = { @pid_search.got("pid", prompt="需要查询的图片PID是?") async def _g(event: MessageEvent, state: T_State, pid: str = Arg("pid")): - url = Config.get_config("hibiapi", "HIBIAPI") + "/api/pixiv/" + url = Config.get_config("hibiapi", "HIBIAPI") + "/api/pixiv/illust" if pid in ["取消", "算了"]: await pid_search.finish("已取消操作...") if not is_number(pid):