From e3b9d6723f70f50e9485338ce7e8b8e7913ad984 Mon Sep 17 00:00:00 2001 From: passthem Date: Wed, 5 Nov 2025 23:58:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E4=B8=BA=E4=BD=BF=E7=94=A8=20proxy=20?= =?UTF-8?q?url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- konabot/common/nb/extract_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/konabot/common/nb/extract_image.py b/konabot/common/nb/extract_image.py index f548c22..93880e8 100644 --- a/konabot/common/nb/extract_image.py +++ b/konabot/common/nb/extract_image.py @@ -127,7 +127,7 @@ async def extract_image_from_message( for a in evt.attachments: if "image/" not in a.content_type: continue - url = a.url + url = a.proxy_url return (await download_image_bytes(url)).bind(bytes_to_pil) for seg in UniMessage.of(msg, bot):