From 9792a2c61f9c1ed45e5d6447465a8e39c5dc7240 Mon Sep 17 00:00:00 2001 From: Snowykami Date: Fri, 13 Dec 2024 03:47:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AD=97=E7=AC=A6=E4=B8=B2?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=B8=AD=E7=9A=84=E5=BC=95=E5=8F=B7?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=EF=BC=8C=E7=A1=AE=E4=BF=9D=E6=AD=A3=E7=A1=AE?= =?UTF-8?q?=E7=94=9F=E6=88=90=E5=9B=BE=E5=83=8F=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_marshoai/tools/marshoai_meogirl/mg_introduce.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot_plugin_marshoai/tools/marshoai_meogirl/mg_introduce.py b/nonebot_plugin_marshoai/tools/marshoai_meogirl/mg_introduce.py index abc13e2d..f79da62f 100644 --- a/nonebot_plugin_marshoai/tools/marshoai_meogirl/mg_introduce.py +++ b/nonebot_plugin_marshoai/tools/marshoai_meogirl/mg_introduce.py @@ -38,7 +38,7 @@ async def introduce(msg: str): img = soup.find("img", class_="infobox-image") if img: - result += f"![ {msg} ]( {img["src"]} ) \n" + result += f"![ {msg} ]( {img['src']} ) \n" div = soup.find("div", class_="mw-parser-output") if div: