Developer Open-Sources Harvest, a Self-Healing Web Scraper Powered by LLMs
A developer has released Harvest, an open-source web scraper designed to automatically repair itself when target websites change their HTML structure. The tool uses a large language model to detect broken selectors, generate replacements, and validate them against a schema — storing the full selector history locally for rollback. Harvest also implements semantic caching, storing extraction results by meaning rather than exact query text, which the developer reports reduces LLM token consumption by 50–70%. Additional features include structural DOM diffing to highlight page changes and a script generator that performs a one-time LLM analysis to produce reusable, zero-token scraping scripts. The project is available on GitHub and can be installed via pip, with support for Cloudflare bypass and an MCP server interface for integration with AI agents.
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