From 39e0fbd30564021d933e157f19b8075978d1f58d Mon Sep 17 00:00:00 2001 From: cheng zhen Date: Fri, 14 Feb 2025 07:13:03 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=B8=80=E4=BA=9B=E6=97=A0=E5=85=B3?= =?UTF-8?q?=E7=B4=A7=E8=A6=81=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit e82fc56c199ceaf2eef0062e6b7aefb0d50addc7) --- cursor_pro_keep_alive.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/cursor_pro_keep_alive.py b/cursor_pro_keep_alive.py index 8bb6f6e..d45b29c 100644 --- a/cursor_pro_keep_alive.py +++ b/cursor_pro_keep_alive.py @@ -302,6 +302,9 @@ def sign_up_account(browser, tab): usage_info = usage_ele.text total_usage = usage_info.split("/")[-1].strip() logging.info(f"账户可用额度上限: {total_usage}") + logging.info( + "请前往开源项目查看更多信息:https://github.com/chengazhen/cursor-auto-free" + ) except Exception as e: logging.error(f"获取账户额度信息失败: {str(e)}") @@ -431,7 +434,9 @@ if __name__ == "__main__": logging.info("正在初始化邮箱验证模块...") email_handler = EmailVerificationHandler() - + logging.info( + "请前往开源项目查看更多信息:https://github.com/chengazhen/cursor-auto-free" + ) logging.info("\n=== 配置信息 ===") login_url = "https://authenticator.cursor.sh" sign_up_url = "https://authenticator.cursor.sh/sign-up" @@ -464,10 +469,13 @@ if __name__ == "__main__": update_cursor_auth( email=account, access_token=token, refresh_token=token ) - + logging.info( + "请前往开源项目查看更多信息:https://github.com/chengazhen/cursor-auto-free" + ) logging.info("重置机器码...") reset_machine_id(greater_than_0_45) logging.info("所有操作已完成") + else: logging.error("获取会话令牌失败,注册流程未完成")