Developer Open-Sources Self-Healing Web Scraper That Auto-Fixes Broken Selectors
A developer has released Harvest, a free, MIT-licensed web scraper built to solve a common frustration: scrapers breaking whenever a website updates its HTML. When selectors fail due to site changes, Harvest uses a large language model to automatically regenerate and validate new CSS selectors, storing the full history locally for rollback. The tool also features a meaning-based semantic cache that can reduce token usage by 50–70% by recognising similar prompts, and a script generator that produces standalone Python scrapers requiring zero LLM tokens at runtime. Harvest runs as an MCP server, making it compatible with AI agents like Claude and Cursor, and includes built-in Cloudflare bypass via Chromium. The project, comprising roughly 9,500 lines of Python, was built in three weeks and is available on GitHub, though it currently has no established community.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in