scrapling
Skill20 starsChanged 6 months agoMITView on GitHub
Web scraping that gets past anti-bot — HTTP fetch / stealth (Cloudflare bypass) / JS-render / spider crawl, via the `scrapling` CLI. Use when web_extract is blocked or returns empty, or to scrape a protected/dynamic site or crawl many pages. Triggers: scrape / crawl a site, "scrape this page", "the site blocks bots / anti-bot", "bypass Cloudflare", a dynamic/JS page web_extract can't read; 爬 / 爬虫 / 抓取 / 爬一下 / 抓一下这个网站 / 这个站爬不动 / 反爬 / 绕过反爬 / 绕过 Cloudflare / 动态页抓不到 / 批量抓取.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- hamzzaqureshi/gravidextheir own version, first seen Nov 8, 2026
- Thanane15M/scrapling-skilltheir own version, first seen Nov 2, 2026
- Rajveerx11/skillstheir own version, first seen Oct 25, 2026
- amanning3390/hermeshubtheir own version, first seen Oct 8, 2026
- KCNyu/clawocktheir own version, first seen Aug 21, 2026
- Cedriccmh/claude-code-skill-scraplingtheir own version, first seen Jun 18, 2026
Other versions11 projects use a version of this.
Word for word · 1
- cloveric/tarocub★ 20100% same
Edited · 0
None found.
Wrote their own version · 10
- Cedriccmh/claude-code-skill-scrapling★ 405same name
- amanning3390/hermeshub★ 48same name
- tdimino/claude-code-minoan★ 41same name
- KCNyu/clawock★ 23same name
- sergeeey/Claude-cod-top-2026★ 9same name
- b1mango/Agent-Skills★ 4same name
- hamzzaqureshi/gravidex★ 1same name
- Rajveerx11/skills★ 1same name
- LaoK2017/Agent-Skills★ 0same name
- Thanane15M/scrapling-skill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- lark-bot-permissionsSkill
- tarocub-service-opsSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Don't loop: If even Scrapling's stealth fetch is blocked (hard anti-bot needing residential proxies / CAPTCHA solving), STOP and report …
- Very specific: line 30
Save tokens: Always extract just what you need with a selector (--css-selector '...') into a .md/.txt/.json file — do NOT dump full raw …
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Scrapling — anti-bot web scraping (CLI)
Scrapling fetches web pages with anti-bot bypass, stealth (headless) browser automation, JS rendering, and a spider framework. Three strategies: HTTP (light, no browser), dynamic (runs JS in a browser), stealth (Cloudflare / anti-bot). The scrapling command is on PATH. Run scrapling extract <sub> --help for exact flags.
Educational/research use. Respect robots.txt and each site's Terms of Service.
When to use Scrapling (vs the bot's other web tools)
The bot has several ways to read the web — use the lightest that works, escalate only when it fails:
- Search / "what's the latest" / don't know the URL →
web_search. - A normal public page →
web_extract(light, no browser). Default for plain pages. - X/Twitter, or any page that needs YOUR login → the x-fetch skill (it uses the logged-in Chrome). Scrapling has no login session, so it cannot reach private/logged-in content.
- Multi-step interaction (log in, click through a flow, fill a form, take a screenshot) → the agent-browser skill. Scrapling is fetch-and-extract, NOT interaction.
- Reach for Scrapling when any of these is true:
web_extractcame back blocked / a login or captcha wall / a Cloudflare page / suspiciously empty / clearly not the real content → that is the signal to escalate. Do not accept the garbage as the answer.- The page is JS-rendered and
web_extractreturns an empty shell. - You already know the site is anti-bot or dynamic (you were told, or it's a known protected site) → go straight to Scrapling; don't waste a doomed
web_extractfirst. - You need to crawl many pages / extract structured fields at scale.
Match the weight to the task. Inside Scrapling, prefer the light HTTP get for plain pages; only use stealthy-fetch (opens a headless browser, +5–15s, hundreds of MB) when actually blocked, and fetch (also a browser) when JS rendering is actually needed.
Don't loop. If even Scrapling's stealth fetch is blocked (hard anti-bot needing residential proxies / CAPTCHA solving), STOP and report "couldn't get past the anti-bot" — don't retry forever or keep escalating.
Save tokens. Always extract just what you need with a selector (--css-selector '...') into a .md/.txt/.json file — do NOT dump full raw HTML into the conversation.
CLI usage
Output format follows the file extension: .md (Markdown), .txt (plain text), .html (raw HTML), .json/.jsonl.
# Static page (HTTP — light, no browser). Add a selector to grab only what you need.
scrapling extract get 'https://example.com' out.md --css-selector '.content' --impersonate chrome
# JS-rendered page (opens a browser to run JS)
scrapling extract fetch 'https://example.com' out.md --css-selector '.dynamic' --network-idle
# Cloudflare / anti-bot protected page (stealth headless browser)
scrapling extract stealthy-fetch 'https://protected-site.com' out.md --solve-cloudflare --block-webrtc
# POST request
scrapling extract post 'https://example.com/api' out.json --json '{"query":"term"}'| Strategy | CLI sub / Python class | Use when |
| HTTP | get / Fetcher | static pages, APIs, fast bulk — no browser |
| Dynamic | fetch / DynamicFetcher | JS-rendered content, SPAs |
| Stealth | stealthy-fetch / StealthyFetcher | Cloudflare, anti-bot sites |
| Spider | Spider (Python) | multi-page crawl with link-following |
Python (for selectors, custom automation, spiders)
from scrapling.fetchers import Fetcher, DynamicFetcher, StealthyFetcher
page = Fetcher.get('https://quotes.toscrape.com/') # HTTP (light)
page.css('.quote .text::text').getall() # CSS selector
page.xpath('//a/@href').getall() # XPath
page.find_by_text('Read more', tag='a') # by text
DynamicFetcher.fetch('https://example.com', headless=True, network_idle=True) # JS render
StealthyFetcher.fetch('https://protected.com', headless=True, solve_cloudflare=True) # anti-botSpider — multi-page crawl with pause/resume:
from scrapling.spiders import Spider, Response
class QuotesSpider(Spider):
name = "quotes"
start_urls = ["https://quotes.toscrape.com/"]
concurrent_requests = 10
download_delay = 1
async def parse(self, response: Response):
for q in response.css('.quote'):
yield {"text": q.css('.text::text').get(), "author": q.css('.author::text').get()}
nxt = response.css('.next a::attr(href)').get()
if nxt:
yield response.follow(nxt)
result = QuotesSpider().start() # QuotesSpider(crawldir="./chk") → Ctrl+C pauses, re-run resumes
result.items.to_json("out.json")Pitfalls
- Browser already installed here (
scrapling installwas run);DynamicFetcher/StealthyFetcherneed it. - Timeouts: dynamic/stealth are in milliseconds (default 30000); HTTP
Fetcheris in seconds. - Cloudflare:
--solve-cloudflareadds 5–15s — only enable when needed. - Resource use: stealth/dynamic run a real (headless) browser — don't run many at once; for plain pages use HTTP
get. - Python: 3.10+.
Fetching reference adapted from the Hermes-agent scrapling skill (MIT, FEUAZUR); the tool-routing section above is TaroCub-specific.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

