$ cat posts/repo-watch-crawl4ai.md~/scorpse/

Repo Watch 05 — Crawl4AI, from a web page to useful input

Linked resource ↗https://github.com/unclecode/crawl4ai

A web page can look perfectly readable while being awkward input for a search or research pipeline. Navigation repeats across pages, important content appears after JavaScript runs, and saving the HTML gives the next stage a lot of material it never needed.

Crawl4AI is worth a look at that boundary. It is an asynchronous Python crawler with browser rendering, Markdown output, and structured extraction. CSS and XPath strategies can extract a known page shape; an LLM strategy is available for tasks that need it. Features and examples

A workflow sketch showing a rendered page moving through crawling and extraction into Markdown or JSON for a downstream pipeline

Workflow sketch: rendering, extraction, and downstream use are separate decisions.

Start with the page you actually need

I would start with a small set of representative pages: a normal article, a JavaScript-heavy page, and a page with a table. Compare the output with what a reader sees. Missing a date or flattening a table can matter more than returning a large volume of clean-looking text.

The crawler also offers deeper traversal strategies. For a monitoring job, I would still set an explicit page budget and allowed scope before turning traversal on. Self-hosted documentation

Crawling is one stage of the system

I would keep the original URL and capture time alongside extracted content, then handle duplicate pages and updates downstream. That makes it possible to explain where an answer came from and to revisit a changed source.

Operating browsers costs memory and time. Simple static pages may need much less machinery, while model-based extraction adds another source of latency and cost. The useful question is which pages need which path.

Crawl4AI is developed by UncleCode and contributors. Its licence includes an additional attribution requirement alongside Apache-2.0; the actual licence text belongs in an adoption check. Licence