bisibility — Track Google rankings and Search Console insights. Free during beta.
Try bisibility freeOur product
Favicon of Scrapy

Scrapy

PublishedLast updated

Scrapy is an open-source Python framework for building fast, scalable web crawlers that extract structured data from websites efficiently.

Screenshot of Scrapy website

Scrapy is a powerful, extensible web scraping framework that enables developers to extract structured data from websites at scale.

Key Features:

  • High Performance - Built-in asynchronous networking for fast, concurrent crawling
  • Built-in Data Pipeline - Export to JSON, JSON Lines, CSV, or XML; database writes require an item pipeline or integration
  • Robust Selectors - Extract data using CSS and XPath selectors with a clean API
  • Middleware Architecture - Customize request handling, proxy rotation, and user-agent spoofing
  • Spider Contracts - Test your spiders with built-in contract testing
  • Active Community - Over 500 contributors and extensive plugin ecosystem

Whether you're building data pipelines, monitoring prices, or gathering research data, Scrapy provides the configurable foundation for Python web scraping.

Distributed crawling requires an extension or a deployment architecture beyond the core framework.

Reviewed profile

Quick verdict

Scrapy is for Python teams building durable, high-volume crawlers with full control over spiders, middleware, and pipelines. Pair it with browser tooling if you need heavy JavaScript rendering or managed anti-blocking.

Best for
  • Python crawler teams
  • Structured extraction pipelines
  • Large crawl jobs
  • Open-source framework users
Not ideal for
  • Heavy JavaScript rendering
  • Managed proxy operations
  • AI-first extraction APIs
Last verified
Jan 24, 2026

Key facts

  • SDKPython package on PyPIPyPI
Features:
Open SourceConcurrency ControlStructured ExtractionCSS SelectorsXPath SupportProxy Rotation

Share:

bisibility

Growing a website? Track its keywords, Google rankings, Search Console insights, and share of voice with bisibility. Free during beta.

Try bisibility freeOur product

Source code

scrapy/scrapy

  • Stars

    65.7K
  • Forks

    12.2K
  • Last commit

    2026-11-27
  • License

    BSD-3-Clause
  • Language

    Python

Metrics recorded 2026-12-01

Repository details

License source: Repository license file

View Repository

Frequently asked questions

What is Scrapy used for?

Scrapy is a Python framework for crawling websites and extracting structured data. Spiders define requests and extraction logic; the framework schedules requests and can export results or pass them through item pipelines.

Sources (checked ): Scrapy overview

Is Scrapy free to use?

Yes. Scrapy is open source under its BSD license, with no framework subscription fee. Hosting, proxies or other services used by a scraping project may have separate costs.

Sources (checked ): Scrapy license

Why might the same POST request work with Requests but fail in Scrapy?

Similar headers do not establish equivalent requests. Scrapy treats request bodies, form data, JSON, and session cookies separately. Cookies set through a raw Cookie header are not considered by CookiesMiddleware; use Request.cookies for middleware-managed cookies. Compare the method, URL, serialized body, content type, and cookies against the working request in an authorized test. Inspect the status and response body, including the errback for non-2xx responses. Establish the request difference before changing middleware or adding browser automation.

Sources (checked ): Requests and Responses — Scrapy 2.19.0 documentation

Why choose Scrapy instead of a visual no-code scraping workflow?

Scrapy provides programmable spiders and item pipelines. Its documentation shows pipelines for record validation, duplicate filtering, and storage, while spiders define extraction and which links to follow. Choose it when your crawl rules, transformations, or application integration need explicit code and review. Plan the rules you will implement and maintain, including record keys and failure handling. Compare that work with a visual tool on the same task: changing selectors, validating output, recovering failures, and operating repeat runs.

Sources (checked ): Item Pipeline — Scrapy 2.19.0 documentation; Scrapy Tutorial — Scrapy 2.19.0 documentation

Where should I start learning Scrapy for a real extraction project?

Start with Scrapy’s official tutorial and reproduce its small crawler before adapting it. The tutorial covers spiders, selectors, following links, and saving extracted data. The item-pipeline guide explains where record validation and processing fit. For your first adaptation, use one permitted source, a few clearly defined fields, and a known expected result. Inspect saved responses when selectors fail. Get the first page correct before adding pagination, then validate the exported records and introduce pipeline rules where needed.

Sources (checked ): Item Pipeline — Scrapy 2.19.0 documentation; Scrapy Tutorial — Scrapy 2.19.0 documentation

Should I use an API request or browser automation when building a Scrapy workflow?

Scrapy’s dynamic-content guide recommends locating the data source before adding browser automation. Records may already be present in the response, embedded in scripts, or supplied by a separate request. Use a documented or operator-approved interface when it provides the required fields. Match its method, parameters, pagination, and session requirements. Add a browser step when the permitted workflow needs page execution or interaction. Validate the returned records in either path, and establish the supported contract before relying on an internal endpoint.

Sources (checked ): Selecting dynamically-loaded content — Scrapy 2.19.0 documentation

How can I limit the load of a Scrapy crawl when I have the site owner’s permission?

Agree on the collection scope and request rate with the site operator, then set DOWNLOAD_DELAY and CONCURRENT_REQUESTS_PER_DOMAIN explicitly. When enabled, AutoThrottle adjusts delays from latency while respecting those controls; its target concurrency is an average, not a strict cap. Scrapy also exposes ROBOTSTXT_OBEY and user-agent settings. Inspect the project’s actual settings rather than relying on defaults. Test a small sample, identify the crawler appropriately, and reduce or stop work when errors increase. Treat robots instructions and the operator’s agreed access scope as separate checks.

Sources (checked ): Settings — Scrapy 2.19.0 documentation; AutoThrottle extension — Scrapy 2.19.0 documentation

Sources

github.com

Verified against the scrapy/scrapy repository and the PyPI package.

Source notes

Compiled from public repository and package data; check project docs for current details.