apify/crawlee-python
Crawlee—A web scraping and browser automation library for Python to build reliable crawlers. Extract structured data with LLMs via Pydantic AI, or control the browser in natural language with Stagehand. Works with BeautifulSoup, Parsel, Playwright, and raw HTTP. Download HTML, PDF, images, and other files. Proxy rotation included.
What it solves
Crawlee helps developers build reliable web scraping and browser automation tools quickly, providing human-like crawling behavior that avoids modern bot protections without requiring complex manual setups.
How it works
It provides a unified interface for both lightweight HTTP-based scraping (via libraries like BeautifulSoup) and heavy JavaScript rendering (via headless browsers like Playwright). Developers write asynchronous Python scripts using built-in request routers, automatic retries, proxy rotation, and persistent data storage.
Who it’s for
Python developers and data engineers who need to build robust, asynchronous web scrapers or automate browsers while managing data persistence and anti-blocking measures.
Highlights
- Unified interface for HTTP and headless browser crawling
- Built on Python asyncio with full type hint support
- Automatic retries, error handling, and proxy rotation
- Persistent queue for URLs and pluggable data storage for tabular results and files
- Command-line interface with ready-to-use templates for quick setup
Related
- Project
- Project
- Project
- Project
- Project