diff --git a/LittlePaimon/plugins/Paimon_Wiki/wiki_api.py b/LittlePaimon/plugins/Paimon_Wiki/wiki_api.py index b586f45..b73c976 100644 --- a/LittlePaimon/plugins/Paimon_Wiki/wiki_api.py +++ b/LittlePaimon/plugins/Paimon_Wiki/wiki_api.py @@ -7,7 +7,7 @@ API: Dict[str, str] = { '角色材料': '{proxy}https://raw.githubusercontent.com/Nwflower/genshin-atlas/master/material%20for%20role/{name}.png', '收益曲线': '{proxy}https://raw.githubusercontent.com/CMHopeSunshine/LittlePaimonRes/main/genshin_guide/curve/{name}.jpg', '参考面板': '{proxy}https://raw.githubusercontent.com/CMHopeSunshine/LittlePaimonRes/main/genshin_guide/panel/{name}.jpg', - '武器图鉴': '{proxy}https://raw.githubusercontent.com/Nwflower/genshin-atlas/master/{name}', + '武器图鉴': '{proxy}https://raw.githubusercontent.com/Nwflower/genshin-atlas/master{name}', '圣遗物图鉴': '{proxy}https://raw.githubusercontent.com/Nwflower/genshin-atlas/master/artifact/{name}.png', '原魔图鉴': '{proxy}https://raw.githubusercontent.com/CMHopeSunshine/GenshinWikiMap/master/results/monster_map/{name}.jpg', '特产图鉴': '{proxy}https://raw.githubusercontent.com/Nwflower/genshin-atlas/master/specialty/{name}.png', diff --git a/LittlePaimon/plugins/star_rail_wiki/__init__.py b/LittlePaimon/plugins/star_rail_wiki/__init__.py index 4f0b310..03c829e 100644 --- a/LittlePaimon/plugins/star_rail_wiki/__init__.py +++ b/LittlePaimon/plugins/star_rail_wiki/__init__.py @@ -105,7 +105,7 @@ async def sr_wiki_got(matcher: Matcher, final_name = str(matches[0]) try: await wiki.finish(MessageSegment.image( - f'{config.github_proxy}https://raw.githubusercontent.com/Nwflower/star-rail-atlas/master{data[final_name]}' + f'{config.github_proxy}https://raw.githubusercontent.com/Nwflower/star-rail-atlas/master{data[final_name]}'.replace(" ", "%20") )) except ActionFailed: await wiki.finish(f'{final_name}的{type}发送失败,可能是网络问题')