All Repos
MCP & ToolingPythonBSD-3-Clause

Scrapling

D4Vinci/Scrapling · Updated

🕷️ 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

D4Vinci/Scrapling is a Python repository in the MCP & Tooling category with 90,271 stars and 9,340 forks on GitHub, released under the BSD-3-Clause license, last updated yesterday.

#ai#ai-scraping#automation#crawler#crawling#crawling-python#data#data-extraction
View on GitHub 90kGitHub stars

How to install Scrapling in your AI client

Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.

How to install Scrapling in Claude CodeAnthropic's agentic CLI

  1. Clone & open

    bash
    git clone https://github.com/D4Vinci/Scrapling.git
    cd Scrapling
    claude
  2. Let Claude read it

    Ask “/init” to generate a CLAUDE.md, then have Claude explain, run, or extend the codebase. It reads files on demand.

Documentation

Full README

<small>Effortless Web Scraping for the Modern Web</small>

<strong>Selection methods</strong> &middot; <strong>Fetchers</strong> &middot; <strong>Spiders</strong> &middot; <strong>Proxy Rotation</strong> &middot; <strong>CLI</strong> &middot; <strong>MCP</strong>

Scrapling is a Python Web Scraping framework that brings fast HTTP requests, stealth browsers, powerful parsing, and concurrent crawling into one library.

Scrape static pages, render JavaScript, interact with websites, and extract data from the API calls behind them. Build crawlers with reusable sessions, proxy rotation, automatic retries, pause/resume, and built-in data exports.

Use it from Python, the terminal, or your AI agent through its MCP server and Agent Skill. From extracting a few fields to collecting a whole website as clean Markdown, Scrapling covers the full scraping workflow.

What you can do with Scrapling

  • [Fetch & interact](https://scrapling.readthedocs.io/en/latest/fetching/choosing.html): Fast HTTP requests, stealth browsers, JavaScript rendering, Cloudflare Turnstile/Interstitial handling, persistent sessions, and background API capture.
  • [Parse & extract](https://scrapling.readthedocs.io/en/latest/parsing/selection.html): CSS, XPath, text and regex search, adaptive element tracking, similar-element matching, and clean Markdown output.
  • [Crawl & export](https://scrapling.readthedocs.io/en/latest/spiders/getting-started.html): Concurrent spiders, proxy rotation, retries, AutoThrottle, pause/resume, streaming, ready-made templates, and JSON/JSONL/CSV/XML exports.
  • [Scrape with AI or from your terminal](https://scrapling.readthedocs.io/en/latest/ai/mcp-server.html): An MCP server for AI agents to browse and extract data, an Agent Skill, CLI commands, and an interactive shell.

Start with a single page:

python
from scrapling.fetchers import Fetcher

page = Fetcher.get('https://quotes.toscrape.com/')
quotes = page.css('.quote .text::text').getall()
print(quotes)

Or scale up with a spider:

python
from scrapling.spiders import Spider, Response

class QuotesSpider(Spider):
    name = "quotes"
    start_urls = ["https://quotes.toscrape.com/"]

    async def parse(self, response: Response):
        for quote in response.css('.quote'):
            yield {
                "text": quote.css('.text::text').get(),
                "author": quote.css('.author::text').get(),
            }

result = QuotesSpider().start()
print(len(result.items))
result.items.to_json("quotes.json")

This prints 10 and saves the quotes and authors to quotes.json.

Platinum Sponsors

NodeMaven - The most efficient proxy provider for Web Scraping and Automation with the Highest Quality IP on the market. Use code SCRAPLING35 for 35% discount.

Excerpt — the full document is on GitHub.

More MCP & Tooling repositories

Catalog data refreshed . Something wrong? Report it.