fix(sites): Cloudflare 挑战不算凭据错误(CF-2)

- http.ts:cf-mitigated: challenge 或 403/503/429 挑战页 → SiteError(challenge),503 不再算维护、403 不再落到 auth_invalid
- 挑战页分类 classifyChallengePage:自动 / 可点(Turnstile)/ 真验证码
- 刷新登录 / 用户数据遇 Cloudflare 挑战只记 last_error,账号状态不变、不开登录失效事项

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-09-30 21:26:53 +08:00
1 parent d403514adc
commit a11ef16e40
5 files changed
+221 -2

No files matched your search

+8
View File
@@ -1,3 +1,11 @@
export {
CHALLENGE_STATUSES,
type ChallengePageKind,
challengeRuleOfHeaders,
challengeRuleOfHtml,
classifyChallengePage,
detectChallenge,
} from "./challenge.ts";
export {
audiencesDefinition,
BUILTIN_SITE_DEFINITIONS,