Skip to content

fix: identify DocumentCloud scripted-access blocks - #115

Open
JordanCoin wants to merge 1 commit into
mainfrom
codex/issue-112-documentcloud-block
Open

JordanCoin wants to merge 1 commit into
mainfrom
codex/issue-112-documentcloud-block

Conversation

@JordanCoin

Copy link
Copy Markdown
Owner

Closes #112

Summary

  • identify 403 responses with challenge-specific Cloudflare evidence without misclassifying ordinary Cloudflare-served 403s
  • distinguish incomplete read timeouts from zero results while preserving uncertainty about the cause
  • guide users to browser access and local docs ingest, with no bypass attempts or changed network behavior

Verification

  • pytest tests/test_records_search.py -q (13 passed)
  • ruff check openfoia/records/documentcloud.py tests/test_records_search.py
  • ruff format --check openfoia/records/documentcloud.py tests/test_records_search.py
  • independent reviewer: Pass; no blockers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

documentcloud: a Cloudflare block is reported as 'timed out'

1 participant