From 3608101000157ea88b0ac1812dd8fcf01f33e224 Mon Sep 17 00:00:00 2001 From: MelodyKnit <2711402357@qq.com> Date: Fri, 17 Nov 2023 20:48:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E5=9C=A8?= =?UTF-8?q?=E9=83=A8=E5=88=86=E5=B9=B3=E5=8F=B0=E8=BE=93=E5=85=A5=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E5=8F=AF=E8=83=BD=E4=BC=9A=E5=AD=98=E5=9C=A8=E7=9A=84?= =?UTF-8?q?=E5=B7=A6=E5=8F=B3=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_animeres/__init__.py | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nonebot_plugin_animeres/__init__.py b/nonebot_plugin_animeres/__init__.py index 49fbc53..55c6907 100644 --- a/nonebot_plugin_animeres/__init__.py +++ b/nonebot_plugin_animeres/__init__.py @@ -48,6 +48,7 @@ async def _( state: T_State, index: str = ArgPlainText(), ): + index = index.strip() anime_search: BaseAnimeSearch = state["anime_search"] if tag := await anime_search.get_tag(index): anime_list = await anime_search.get_resources(tag) diff --git a/pyproject.toml b/pyproject.toml index 28a2541..3080bca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nonebot-plugin-animeres" -version = "1.0.3" +version = "1.0.4" description = "动漫资源获取插件" authors = ["MelodyKnit <2711402357@qq.com>"] readme = "README.md"