Web scraping and browser automation library for JavaScript and Python
open sourceApache-2.0self-hostablefree
Crawlee is an open source web scraping and crawling library from Apify, for JavaScript/TypeScript and Python. One interface covers fast HTTP crawling (with Cheerio or JSDOM parsing) and headless browsers through Playwright or Puppeteer, and an adaptive crawler switches to a browser only when a page needs JavaScript. It handles the hard parts of staying unblocked: proxy rotation, browser-like headers, TLS and browser fingerprints, and sessions, with a persistent request queue, pluggable storage for data and files, automatic scaling, retries and routing. It's free under Apache 2.0, ships Dockerfiles, and its crawlers run anywhere, including the Apify platform.
Problems it solves
- build a web scraper in Node.js or TypeScript that crawls a whole site
- scrape JavaScript-heavy pages with Playwright without writing the crawling logic myself
- avoid getting blocked while scraping with proxy rotation and browser fingerprints
- keep a persistent queue of URLs so a crawl can resume after a crash
- switch between plain HTTP scraping and a headless browser per page
- scrape websites from Python with the same tools
- scale a crawler's concurrency automatically to the machine's resources
- deploy a scraper as a Docker container
Features
- single interface for HTTP and headless browser crawling
- Cheerio and JSDOM parsing
- Playwright and Puppeteer crawlers
- adaptive crawler that detects when JS rendering is needed
- persistent request queue, breadth and depth first
- pluggable storage for tabular data and files
- proxy rotation and sessions
- browser-like headers and TLS fingerprint replication
- browser fingerprint generation
- automatic scaling
View 4 more
- routing, error handling and retries
- CLI project templates
- Dockerfiles
- JavaScript/TypeScript and Python versions
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Crawlee does.
- Scrapy Open source web scraping and crawling framework for Python
- Crawl4AI Open-source LLM-friendly web crawler and scraper, and a hosted scraping, extraction and search API for AI agents
- SeleniumBase Python browser automation for testing, scraping and stealth
