From b842cedae16953ebd2d8d6b1cf13aa755db2289c Mon Sep 17 00:00:00 2001 From: xtaodada Date: Mon, 21 Oct 2024 15:25:04 +0800 Subject: [PATCH] fix: bsky parse author link --- modules/bsky_api.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/bsky_api.py b/modules/bsky_api.py index ae1416d..479eb0b 100644 --- a/modules/bsky_api.py +++ b/modules/bsky_api.py @@ -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)