Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

scrapling

Skill by fengshao1227

Scrapes web pages and extracts data with the scrapling Python library. It picks a suitable fetcher for each site, including options for Cloudflare or WAF protection, session logins and HTML parsing. It is for users who need to scrape, crawl or batch collect web data.

  • Score 89
  • 6k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install scrapling

Built from the published package, never by AI.

git clone --depth 1 https://github.com/fengshao1227/ccg-workflow /tmp/ccg-workflow && mkdir -p ~/.claude/skills && cp -r /tmp/ccg-workflow/templates/skills/scrapling ~/.claude/skills/scrapling

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install scrapling in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Scrapling is an agent skill that guides an AI assistant through web scraping and data extraction with the scrapling Python library. Before fetching, it checks the installed scrapling version and installs or upgrades it when needed. It then chooses a fetcher from a decision tree: Selector for HTML that is already available, Fetcher for static pages, FetcherSession for HTTP form logins, StealthyFetcher for Cloudflare or WAF protection, and DynamicFetcher for JavaScript-rendered apps.

The skill works from templates and reference files. It checks a site patterns file before each scrape, reuses recorded patterns, and saves new site patterns and cookies to a cookie vault after a run. It is aimed at users who want to scrape, crawl or batch collect pages, and its trigger words include both English and Chinese terms.

Written from the project's SKILL.md and checked against it.

What it can do

  • Fetcher selectionChooses Selector, Fetcher, FetcherSession, StealthyFetcher or DynamicFetcher based on the target site.
  • Basic HTTP fetchingFetches static pages without anti-bot measures using a Fetcher based on curl_cffi.
  • Cloudflare and WAF bypassUses StealthyFetcher, a Camoufox browser, to get past Cloudflare or WAF protection.
  • Session loginLogs in through an HTTP form and keeps session cookies with FetcherSession.
  • HTML parsingExtracts data from HTML strings or files with Selector, with no network request.
  • JavaScript renderingUses DynamicFetcher, a Playwright browser, for SPA pages built with React or Vue.
  • Site pattern reuseChecks recorded site patterns before scraping and saves new patterns after each run.
  • Cookie vaultStores cookies provided by the user or created during a login for later reuse.
  • Version checkRuns pip show on scrapling and installs or upgrades it before scraping.
  • Troubleshooting guidePoints to a reference file that matches error messages to causes and fixes.

What you need

  • Python with pip
  • scrapling[fetchers] package installed via pip

Try asking

  • Scrape the product titles and prices from this URL.
  • Fetch this Cloudflare-protected page and extract the article text.
  • Log in to this site with my cookie and crawl my account pages.

Good to know

  • Timeout units differ: seconds for Fetcher and FetcherSession, milliseconds for StealthyFetcher and DynamicFetcher.
  • Browser fetcher cookies must include name, value, domain and path fields.

Security check

B
  • Allowed to use Bash without limitsIn SKILL.md

Checked automatically: templates/skills/scrapling/SKILL.md, templates/skills/scrapling/templates/basic_fetch.py, templates/skills/scrapling/templates/parse_only.py, templates/skills/scrapling/templates/session_login.py, templates/skills/scrapling/templates/stealth_cloudflare.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadBash

  • SKILL.md4 KB
  • references/api-quick-ref.md3 KB
  • references/cookie-vault.md1 KB
  • references/maintenance.md2 KB
  • references/site-patterns.md3 KB
Show all 10 files
  • references/troubleshooting.md3 KB
  • templates/basic_fetch.py527 B
  • templates/parse_only.py488 B
  • templates/session_login.py717 B
  • templates/stealth_cloudflare.py677 B

Alternatives to scrapling

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

scrapling: common questions

Which browser engines does scrapling use?

StealthyFetcher uses a Camoufox browser and DynamicFetcher uses Playwright. The basic Fetcher is based on curl_cffi.

How does the skill handle Cloudflare protection?

For sites with Cloudflare or WAF protection, the skill recommends StealthyFetcher, which the source says gets past Cloudflare automatically. If a plain Fetcher gets a 403 or empty content, the skill escalates to StealthyFetcher.

Where are login cookies stored?

New cookies are saved to references/cookie-vault.md so they can be reused. The source gives different cookie formats for Fetcher types and browser-based fetchers.

How do I install scrapling?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is scrapling free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is scrapling safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.

What are alternatives to scrapling?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

scrapling Install

Add to stack

Loading.