# Scrapy

> Scrapy is an open source Python framework that anyone can run to crawl and scrape sites. New projects obey robots.txt, but each operator can turn that off.

Canonical: https://promptlyfound.com/crawlers/scrapy
Updated: 2026-11-22

## Short answer

Scrapy is an open source Python framework that anyone can use to build a crawler. **A Scrapy rule in robots.txt stops only Scrapy crawlers that keep the default user agent and have ROBOTSTXT_OBEY on.** Projects made with scrapy startproject turn that setting on. Each operator can change the user agent or turn robots.txt off, and there is no IP list to check.

## Key findings

- Scrapy's default User-Agent is "Scrapy/VERSION (+https://scrapy.org)". Each project can override it. [1]
- ROBOTSTXT_OBEY defaults to True in the settings.py file that scrapy startproject generates. The fallback value is False, for historical reasons. [1]
- Scrapy matches robots.txt rules against ROBOTSTXT_USER_AGENT if it is set, else against the request's User-Agent header or the USER_AGENT setting. [1]
- A request with the dont_obey_robotstxt meta key skips the robots.txt check even when ROBOTSTXT_OBEY is on. [2]
- Zyte maintains Scrapy with more than 500 other contributors. [3]

## What blocking it does

Scrapy is software, not one crawler. [Scrapy's website](https://scrapy.org/) calls it an open source data extraction framework, maintained by Zyte with more than 500 other contributors.[3] Anyone can run it, so a Scrapy request in your logs comes from whoever runs that spider.

A Scrapy rule works only when two conditions are true. First, the crawler keeps the default user agent. Second, the operator has ROBOTSTXT_OBEY on. [Scrapy's settings reference](https://docs.scrapy.org/en/latest/topics/settings.html) says the settings.py file that `scrapy startproject` generates turns ROBOTSTXT_OBEY on. The fallback value is off, for historical reasons.[1] The [downloader middleware documentation](https://docs.scrapy.org/en/latest/topics/downloader-middleware.html) adds that a request with the `dont_obey_robotstxt` meta key skips the check.[2]

## robots.txt rules

To ask Scrapy crawlers that use the default user agent to stay out:

```
User-agent: Scrapy
Disallow: /
```

Scrapy matches robots.txt rules against ROBOTSTXT_USER_AGENT if the operator sets it. If not, it uses the request's User-Agent header or the USER_AGENT setting, in that order.[1] A spider with its own user agent reads the group for that name, or the `*` group. Scrapy's default parser, Protego, follows Google's robots.txt specification and supports wildcards.[2]

## Verify a request

You cannot verify a Scrapy request. The default User-Agent is "Scrapy/VERSION (+https://scrapy.org)", and each project can override it.[1] Scrapy is not a service, so there is no operator IP list or DNS check. Treat the name as a clue to the software, not to who runs it.

## Sources

1. Settings. Scrapy documentation. https://docs.scrapy.org/en/latest/topics/settings.html
2. Downloader Middleware. Scrapy documentation. https://docs.scrapy.org/en/latest/topics/downloader-middleware.html
3. Scrapy: open source web scraping framework for Python. Scrapy. https://scrapy.org/

---

This is a plain-text copy of https://promptlyfound.com/crawlers/scrapy from Promptly Found. The web page is the canonical version and includes the charts.
