Skip to main content

scrapy-stealth logo

scrapy-stealth

Stealthy Crawling. Maximum Results.

Pluggable anti-bot middleware for Scrapy — TLS, smart proxies, external CDP, Chrome

Per-request drivers and automatic HTTP → browser fallback.

Documentation PyPI version Downloads Python versions GitHub release License: MIT Changelog

scrapy-stealth adds TLS impersonation, behavioral fingerprinting, adaptive rate limiting, smart proxies, and real Chrome to Scrapy — with per-request driver selection and automatic HTTP → browser fallback.

Documentation: scrapy-stealth.readthedocs.io/en/latest/


💜 Sponsors

NodeMaven — Best proxy for web scrapping and automation with the highest quality IP
NodeMaven — the most efficient proxy provider for web scrapping and automation with the highest-quality IP on the market.

Why NodeMaven?
  • 99.9% uptime
  • ZIP Targeting
  • IP filtering: all proxies have fraud score <97%
  • No KYC required
  • Unique free tools: Proxy Bandwidth Checker, Meta Tag Checker, IP Lookup, and others
Special codes for scrapy-stealth users: SCRAPYSTEALTH35 — 35% off Mobile and Residential Proxies; SCRAPYSTEALTH40 — 40% off ISP (Static) Proxies; SCRAPYSTEALTH2X — 2X traffic for Black Friday.
CyberYozh App — Operational proxy infrastructure for web scraping and automation
CyberYozh App — Operational proxy infrastructure for web scraping, browser automation, SEO, and multi-account workflows.

Why CyberYozh App?
  • Mobile LTE/5G (unlimited traffic), Residential, Static ISP, and Datacenter proxies
  • 100M+ IPs across 195+ countries with free geo-targeting
  • 24-hour sticky sessions, per-request rotation, and traffic rollover
  • 99.9% proxy uptime with HTTP(S), SOCKS5, UDP, VLESS, and OpenVPN support
  • Built-in tools: Fraud Score checks (IP, phone, card), SMS activation, virtual cards, and Android Cloud Phones

Install

pip install scrapy-stealth

Requires Python 3.11+ and Scrapy 2.12–2.x. See the installation guide.


Quick setup

DOWNLOADER_MIDDLEWARES = {
    "scrapy_stealth.middlewares.StealthDownloaderMiddleware": 950,
}
STEALTH_ENABLED = True  # injects driver="auto" on every request
yield scrapy.Request("https://example.com")

That runs turbo first, then retries once with visible Chrome on JS challenges or session bans. See Quick start for per-request mode, proxies, and custom_settings.


Documentation

Topic Link
Getting started Installation · Quick start · Example spider
Configuration Global settings · Per-request meta
Drivers Overview · Auto · Browser
Guides Cookies & requests · Proxies · DNS · Snapshots
Reference Features · Comparison · Stats · Changelog

Contributing

See CONTRIBUTING.md.

License

MIT — see LICENSE.

Metadata

Release files for scrapy-stealth 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scrapy-stealth 1.0.2
File Size Uploaded Provenance Actions
scrapy_stealth-1.0.2.tar.gz 215.6 kB Without provenance Details for scrapy_stealth-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scrapy-stealth 1.0.2
File Interpreter ABI Platform Actions
scrapy_stealth-1.0.2-py3-none-any.whl Python 3 none any Details for scrapy_stealth-1.0.2-py3-none-any.whl

Total release size: 443.1 kB

Release files / scrapy_stealth-1.0.2.tar.gz

Download URL scrapy_stealth-1.0.2.tar.gz
Size 215.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6977e10755be69feaf2baa194716cc469494ee42b13b8f3a2c02b81779a1b904
BLAKE2b-256 checksum
How to use checksums
04406120ae15d0f7cf31992cb1c47e89b229f1b51a5a7f87f75d765b2c8b742c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / scrapy_stealth-1.0.2-py3-none-any.whl

Download URL scrapy_stealth-1.0.2-py3-none-any.whl
Size 227.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4323143b8bfb2336180c8648e1d11d8049ae0980c7167333b0284f727b35d3d
BLAKE2b-256 checksum
How to use checksums
ddd0ab294b87fc6bd88011ee5693dc2fe4c42ad57be92b4d02ac0063837669bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for scrapy-stealth 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page