Skip to content

Commit

Permalink
🐛 修复 bilibili 图片链接处理中的错误
Browse files Browse the repository at this point in the history
  • Loading branch information
fllesser committed Jan 16, 2025
1 parent 9dfae46 commit bdd0076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nonebot_plugin_resolver2/matchers/bilibili.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:https", "https")
img_url = img_url.replace("https:", "", 1)
try:
img_path = await download_img(img_url)
except Exception as e:
Expand Down

0 comments on commit bdd0076

Please sign in to comment.