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: