Zero-bot-detection web scraping for OpenClaw. Bypass Cloudflare, handle JavaScript-heavy sites, and adapt to website changes automatically. Use when you need...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install scrapling-web-scraper或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install scrapling-web-scraper⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/scrapling-web-scraper/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: Scrapling Web Scraping description: Zero-bot-detection web scraping for OpenClaw. Bypass Cloudflare, handle JavaScript-heavy sites, and adapt to website changes automatically. Use when you need to scrape protected websites, extract data from dynamic JavaScript SPAs, or bypass anti-bot detection systems. Supports three modes - basic (fast HTTP), stealth (undetectable), dynamic (browser automation). identifier: scrapling-web-scraping version: 1.0.0 author: 老二 category: web-scraping ---
Zero-bot-detection web scraping for OpenClaw. Bypass Cloudflare, handle JavaScript-heavy sites, and adapt to website changes automatically.
# Install Scrapling
pip install "scrapling[all]"
scrapling install
# Basic usage
python3 /root/.openclaw/skills/scrapling-web-scraping/scrapling_tool.py https://example.com
# Bypass Cloudflare
python3 /root/.openclaw/skills/scrapling-web-scraping/scrapling_tool.py https://protected-site.com --mode stealth --cloudflare
# Extract specific data
python3 /root/.openclaw/skills/scrapling-web-scraping/scrapling_tool.py https://example.com --selector ".product-title"
# JavaScript-heavy sites
python3 /root/.openclaw/skills/scrapling-web-scraping/scrapling_tool.py https://spa-app.com --mode dynamic --wait ".content-loaded"
Basic scraping: > "用Scrapling抓取 https://example.com 的标题和所有链接"
Bypass protection: > "用隐身模式抓取 https://protected-site.com,绕过Cloudflare"
Extract data: > "抓取 https://shop.com 的商品名称和价格,CSS选择器是 .product"
Dynamic content: > "抓取 https://spa-app.com,等待 .data-loaded 元素加载完成"
# Basic scraping
from scrapling.fetchers import Fetcher
page = Fetcher.get('https://example.com')
title = page.css('title::text').get()
# Bypass Cloudflare
from scrapling.fetchers import StealthyFetcher
page = StealthyFetcher.fetch('https://protected.com',
headless=True,
solve_cloudflare=True)
# JavaScript sites
from scrapling.fetchers import DynamicFetcher
page = DynamicFetcher.fetch('https://spa-app.com',
headless=True,
network_idle=True)
| Feature | Command | Description | |---------|---------|-------------| | Basic Scrape | --mode basic | Fast HTTP requests | | Stealth Mode | --mode stealth | Bypass Cloudflare/anti-bot | | Dynamic Mode | --mode dynamic | Handle JavaScript sites | | CSS Selectors | --selector ".class" | Extract specific elements | | JSON Output | --json | Machine-readable output |
python3 scrapling_tool.py https://quotes.toscrape.com --selector ".quote .text" --json
python3 scrapling_tool.py https://nopecha.com/demo/cloudflare --mode stealth --cloudflare
python3 scrapling_tool.py https://spa-app.com --mode dynamic --wait ".loaded" --json
python3 scrapling_tool.py URL [options]
Options:
--mode {basic,stealth,dynamic} Scraping mode (default: basic)
--selector, -s CSS_SELECTOR Extract specific elements
--cloudflare Solve Cloudflare (stealth mode only)
--wait SELECTOR Wait for element (dynamic mode only)
--json, -j Output as JSON
Create custom scraping scripts in /root/.openclaw/skills/scrapling-web-scraping/:
from scrapling.fetchers import StealthyFetcher
# Your custom scraper
def scrape_products(url):
page = StealthyFetcher.fetch(url, headless=True)
products = []
for item in page.css('.product'):
products.append({
'name': item.css('.name::text').get(),
'price': item.css('.price::text').get(),
'link': item.css('a::attr(href)').get()
})
return products
scrapling install to download browsers---
Created: 2026-03-05 by 老二 Source: https://github.com/D4Vinci/Scrapling
安装 Scrapling Web Scraping 后,可以对 AI 说这些话来触发它
Help me get started with Scrapling Web Scraping
Explains what Scrapling Web Scraping does, walks through the setup, and runs a quick demo based on your current project
Use Scrapling Web Scraping to zero-bot-detection web scraping for OpenClaw
Invokes Scrapling Web Scraping with the right parameters and returns the result directly in the conversation
What can I do with Scrapling Web Scraping in my data & analytics workflow?
Lists the top use cases for Scrapling Web Scraping, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/scrapling-web-scraper/ 目录(个人级,所有项目可用),或 .claude/skills/scrapling-web-scraper/(项目级)。重启 AI 客户端后,用 /scrapling-web-scraper 主动调用,或让 AI 根据上下文自动发现并使用。
Scrapling Web Scraping 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Scrapling Web Scraping 可免费安装使用。请查阅仓库了解许可证信息。
Zero-bot-detection web scraping for OpenClaw. Bypass Cloudflare, handle JavaScript-heavy sites, and adapt to website changes automatically. Use when you need...
Scrapling Web Scraping 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using Scrapling Web Scraping
Identifies repetitive steps in your workflow and sets up Scrapling Web Scraping to handle them automatically