Repository navigation
fix(login): 发封号提醒前先探测一次;Rousi 最近活跃只认站点记录,凭据写明是个人 API Key - #767
Merged
Merged
Conversation
用户反馈网页已经打开过了还是提示要封禁:提醒按最多 6 小时前的探测结果发。 - 要发封号提醒时,自动探测的站点、上一次探测在 30 分钟以前,先探测一次再判断,不再危险就不发;单站锁被占用时照旧按已有结果提醒 - Rousi 的最近活跃只取站点的 last_active_at(只在网页访问时更新),不再把当天签到算成活跃 - 站点详情里 Rousi 的 Passkey 一栏写明填「账户 → API Key」页的个人 API Key、不是 Tracker Passkey,以及签到要的权限;驱动报错同样改写 - 文档中英同步
Codecov Report❌ Patch coverage is
... and 5 files with indirect coverage changes 🚀 New features to boost your workflow:
|
凭证失效(会话过期、密钥错误)的站点按设计 24 小时才重探,被限流、网络错误的按退避间隔重探; 提醒前的补探测绕过这个节奏,每天会在提醒时刻多请求两次站点,失效的凭证也探不出新的最近访问。 现在只对上一次探测成功或从未探测过的站点补探测,其余照旧按已有结果提醒。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改了什么
用户反馈:Rousi Pro 的 API Key 支持签到;网页已经打开过了,pt-tools 还是提示「即将封禁」。
last_active_at(2026-10-23 起实测),用 API Key 取资料、签到都不刷新它依据
POST /api/points/attendance返回「签到成功,获得 100 魔力」,再签返回「今日已签到」;网页自己的/api/v1/me/attendance只认登录会话10-23 每次探测都正常,但剩余天数 -40-42、每天 10:00 / 22:00 发「即将封禁」;10-23 网页访问后站点的最近活跃才前进测试
scheduler:提醒前探测后不再危险就不发、探测后仍危险照发、刚探测过 / 手动或不探测的站点 / 单站锁被占用 / 上次探测失败(凭证失效、密钥错误、被限流)时不补探测、从未探测过的先探测、不到提醒时刻不探测;关键分支做过变异检查site/v2/definitions:最近活跃只取last_active_at、不查签到统计;缺 Key 的报错make check(UTC)