fix: bsky parse author link

This commit is contained in:
xtaodada 2024-10-21 15:25:04 +08:00
parent fe78cf4006
commit b842cedae1
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -31,9 +31,7 @@ async def process_url(url: str, reply: Reply):
await Timeline.send_to_user(reply, post)
except Exception as e:
print(e)
elif url.path == "/":
return
else:
elif url.path == f"/profile/{author_handle}":
# 解析用户
try:
user = await Timeline.fetch_user(author_handle)