Extraction agent stalled at 777/1,561 rows — here's what fixed the missing-field loop
Ok_Shopping_6997 · reddit · 2026-11-25
A follow-up on a scraping agent that stalled halfway through 1,561 retirement homes because pages without emails were misjudged as "blocked." The fix: probe 30 pages up front and build test fixtures around every absent-field pattern, and give empty cells explicit states (not on page vs blocked vs never reached) instead of silent nulls. The author also added a row-count check against the site's stated total and SHA-256 hashes on raw responses for traceability. Next challenge: pre-run cost/runtime estimation for endpoints with unknown pagination depth.
More from coding & agent
- Open-source MCP sanitizer strips white-on-white text and 3 Tr glyph PDF prompt injections pre-LLM — EstablishmentTough18 · 2026-11-25
- "There is no decentralized AI, only personal local AI" — dev urges going local over cloud agents — AIFlow_ML · 2026-11-25
- Editing a D&D actual play with Claude + free invideo editor over MCP: 2h50m saved per 3.5h session — ThunderBirdzzz · 2026-11-25
- Software architecture is all about tradeoffs: the five-way impacts diagram — bibryam · 2026-11-25
- Open-sourcing verilays: catch agent DB writes that report success but never landed correctly — Ok-Machine7983 · 2026-11-25
- AI agent fights a $999 wrongful subscription charge, files FTC and BBB complaints overnight — tetsuoai · 2026-11-25