M8-T4: Shim fetches Ergebnisseiten selbst (raw_content >100 chars) — gptr-Scraper im Image ist broken (Scraped 0 pages)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-11-19 13:48:42 +01:00
co-authored by Mistral Vibe
parent 86a7447cdd
commit 8cb33c7810
3 changed files with 48 additions and 12 deletions
@@ -228,3 +228,10 @@ Internet → NPM (CT 103, 443) → auth_request-Subrequest an oauth2-proxy
ohne publish im LLM-Netz (Alias `gptr-searxng-shim`), ruft SearXNG im
Egress-Netz. Verifiziert: Shim-Query aus dem Backend-Container liefert
echte Ergebnisse; research.yml idempotent.
- **Befund 19.11. (Scraped 0 pages):** der Scraper im gptr-Image ist kaputt
(`Error processing None: 'NoneType' ... endswith`, `Scraped data size: 0`).
Workaround: der Shim fetches die Ergebnisseiten selbst und liefert
`raw_content` mit vollem Seiten-Text (>100 chars) — dann scrapt
gpt-researcher nicht selbst. `SHIM_MAX_RESULTS=8`, Fetch-Cap 200k/Seite,
Timeout 10 s. Verifiziert: shim count 8 mit Seiteninhalt.