Learn Scrapy
Python framework for fast, polite, large-scale web crawling and scraping
Scrapy is a Python framework for crawling websites and extracting structured data. You write spiders that yield requests and items, and Scrapy handles scheduling, concurrency, retries, throttling, deduplication, pipelines and export. It's the standard choice when scraping goes beyond a few pages: whole sites, recurring crawls and production data pipelines.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know