local-web-search/services/extractor
User 4bcbe8daff Handle bot-blocked pages honestly: fetch fallback, degradation flags, thin threshold
- renderer: plain-fetch escalation when the browser render is blocked (4xx)
  or fails — some sites 403 automated browsers but serve plain HTTP clients
- orchestrator: blocked (>=400), empty, and thin results now appear in
  failed_urls and the degraded trace list instead of passing silently;
  blocked/thin results are never cached
- extractor: thin threshold raised to 500 chars (env: MIN_TEXT_CHARS) so
  block/challenge interstitials are flagged instead of passing as content

Outcome on TechPowerUp (fingerprints Chromium AND Firefox, JS-challenges
plain clients): still blocked — accepted per PRD §9 — but results are now
flagged thin/degraded so the calling LLM knows to rely on other sources.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 00:12:36 -07:00
..
app Handle bot-blocked pages honestly: fetch fallback, degradation flags, thin threshold 2026-07-06 00:12:36 -07:00
Dockerfile M1: scrape spine — renderer, extractor, orchestrator /scrape, compose, health, render cache 2026-07-05 22:02:38 -07:00
requirements.txt M2: extraction quality — fallback extractors, thin-content detection, result cache 2026-07-05 22:05:04 -07:00