I'm one of the Crawlee maintainers. We just shipped v4, the first major release since 2022, after more than a year in the works. Crawlee is an open-source library for writing crawlers and scrapers in Node.js, either over plain HTTP with Cheerio or with Playwright and Puppeteer. It handles the request queue, retries, sessions, proxies and storage, and you mostly write the request handler.
What's new:
-
Playwright and Puppeteer crawlers can connect to over WebSocket or CDP.
-
. If a request handler throws, nothing it wrote ends up in the dataset, so retries don't leave duplicates behind anymore.
-
is the and responses are native Fetch
Responseobjects. got-scraping is end of life. -
A carries its proxy, cookies and browser fingerprint, and all three get retired together when it gets blocked.
-
The request handler and navigation have separate timeouts, and a handler can extend its own timeout when it finds more work.
-
The new honors robots.txt
Crawl-delayand backs off on a 429 for that domain only, while the other domains keep going. -
can share one concurrency budget, and they no longer eat each other's requests from a shared queue.
-
Storage is split into a file system backend (the default) and an in-memory one, and each crawler can get its own.
-
Smaller things:
skipRequest(),extractLinks(), run-scoped storages, and in@crawlee/otel.
Most of the breaking changes come from cleaning up the public API. You pass in objects like the session pool, browser pool or HTTP client instead of option bags, we use standards where they exist (Zod, Standard Schema, globs and regexps in enqueueLinks(), await using), and there's a lot less internal surface to reach into. The install got smaller too, 199 packages and 67 MB instead of 293 packages and 106 MB.
It needs Node.js 22.15+ and TypeScript 5.9+. The package is native ESM, but CommonJS projects can still require() it.
To upgrade a v3 project, run npx @crawlee/upgrade@latest. It prints a prompt for your coding agent, and there's a full if you'd rather do it by hand.
-
Blog post:
-
GitHub:
Happy to answer questions.