
pip install "scrapling[shell]"▶️ Usage summary
- Install:
pip install "scrapling[shell]" - HTTP requests with session support:
from scrapling.fetchers import Fetcher, FetcherSession - Advanced stealth mode:
from scrapling.fetchers import StealthyFetcher, StealthySession - Build full crawlers with concurrent requests, multiple session types, and pause/resume:
from scrapling.spiders import Spider, Response - Use multiple session types in a single spider:
from scrapling.spiders import Spider, Request, Response - Pause and resume long crawls with checkpoints by running the spider like this:
QuotesSpider(crawldir="./crawl_data").start()
Scrapling — 🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
What is Scrapling?
Scrapling is an open-source app on GitHub (D4Vinci/Scrapling). 🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
What can Scrapling do?
- 🕷️ Scrapy-like Spider API: Define spiders with starturls, async parse callbacks, and Request/Response objects.
- ⚡ Concurrent Crawling: Configurable concurrency limits, per-domain throttling, and download delays.
- 🔄 Multi-Session Support: Unified interface for HTTP requests, and stealthy headless browsers in a single spider – route requests to different sessions by ID.
- 💾 Pause & Resume: Save pending requests and seen URLs with crawldir. Press Ctrl+C to stop gracefully and restart with the same directory.
- 🛡️ Blocked Request Detection: Automatic detection and retry of blocked requests with customizable logic.
- 🤖 Robots.txt Compliance: Optional robotstxtobey flag that respects Disallow, Crawl-delay, and Request-rate directives with per-domain caching.
How to install Scrapling
See the ⚡ Quick install section at the top of the page — it has a ready-to-copy command taken from the author’s README, plus where to run it. For the full instructions, see the README at the end of the page.
Frequently asked questions about Scrapling
Is Scrapling free?
Yes. Scrapling is an open-source project on GitHub, so you can download and use it for free.
Is Scrapling hard to install?
No. You only need to run one command above.
What is Scrapling written in?
Scrapling is written mainly in Python.
Download & source code
The source code, README and latest updates of Scrapling are at github.com/D4Vinci/Scrapling. The star count and update date on this page sync automatically from GitHub.
📖 Full guide
Loading the guide…