Commit Graph

5 Commits

Author SHA1 Message Date
steve 3b38637e56 feat(archive): keep page open on captcha-status errors so callers can promote
CI / test (push) Successful in 2m6s
CI / vet (push) Successful in 1m21s
CI / build (push) Successful in 2m13s
Adds OpenPageOptions.AllowNonOKStatus. When set, openPage no longer closes
the page on non-2xx (other than 404) and Open returns both a usable Document
and ErrInvalidStatusCode. archive.IsArchived and Archive opt in, so callers
can PromoteToInteractive the captcha page, hand it to a human solver, and
demote back to extract content from the same browser instance — avoiding
the cf_clearance fingerprint-binding issue that re-challenges any fresh
retry browser.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-28 00:29:39 +00:00
steve 567a9f9212 added archive, megamillions, and powerball site logic 2024-12-23 03:18:50 -05:00
steve 5e924eb3f9 changed browser api to return pages that can be acted on, not strictly contents 2024-12-17 23:16:13 -05:00
steve a51f8200ea added screenshots 2024-12-09 13:51:00 -05:00
steve cbd6682257 initial commit 2024-12-07 03:53:46 -05:00