From 9dfae46526495a60ae2215e64dbcc9bfc1135344 Mon Sep 17 00:00:00 2001 From: fllesser Date: Thu, 16 Jan 2025 23:42:29 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=20bilibili=20?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E9=93=BE=E6=8E=A5=E5=A4=84=E7=90=86=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_resolver2/matchers/bilibili.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot_plugin_resolver2/matchers/bilibili.py b/nonebot_plugin_resolver2/matchers/bilibili.py index 399a7ce..7daae8f 100644 --- a/nonebot_plugin_resolver2/matchers/bilibili.py +++ b/nonebot_plugin_resolver2/matchers/bilibili.py @@ -182,7 +182,7 @@ def accumulate_text(node): if node_type == "ImageNode": if img_url := node.get('url', '').strip(): if img_url.startswith("https:https"): - img_url.replace("https:", "", 1) + img_url.replace("https:https", "https") try: img_path = await download_img(img_url) except Exception as e: