Web scraping using Scrapling — a Python framework with anti-bot bypass (Cloudflare Turnstile, fingerprint spoofing), adaptive element tracking, stealth headl...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install scrapling-fetcher或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install scrapling-fetcher⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/scrapling-fetcher/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: scrapling description: "Web scraping using Scrapling — a Python framework with anti-bot bypass (Cloudflare Turnstile, fingerprint spoofing), adaptive element tracking, stealth headless browser, and full CSS/XPath extraction. Use when web_fetch fails (Cloudflare, JS-rendered pages), or when extracting structured data from websites (prices, articles, lists). Supports HTTP, stealth, and full browser modes. Source: github.com/D4Vinci/Scrapling (PyPI: scrapling). Only use on sites you have permission to scrape." license: MIT metadata: source: https://github.com/D4Vinci/Scrapling pypi: https://pypi.org/project/scrapling/ ---
Source: https://github.com/D4Vinci/Scrapling (open source, MIT-like license) PyPI: scrapling — install before first use (see below)
> ⚠️ Only scrape sites you have permission to access. Respect robots.txt and Terms of Service. Do not use stealth modes to bypass paywalls or access restricted content without authorization.
pip install scrapling[all]
patchright install chromium # required for stealth/dynamic modes
scrapling[all] installs patchright (a stealth fork of Playwright, bundled as a PyPI package — not a typo), curl_cffi, MCP server deps, and IPython shell.patchright install chromium downloads Chromium (~100 MB) via patchright's own installer (same mechanism as playwright install chromium).scripts/scrape.py — CLI wrapper for all three fetcher modes.
# Basic fetch (text output)
python3 ~/skills/scrapling/scripts/scrape.py <url> -q
# CSS selector extraction
python3 ~/skills/scrapling/scripts/scrape.py <url> --selector ".class" -q
# Stealth mode (Cloudflare bypass) — only on sites you're authorized to access
python3 ~/skills/scrapling/scripts/scrape.py <url> --mode stealth -q
# JSON output
python3 ~/skills/scrapling/scripts/scrape.py <url> --selector "h2" --json -q
web_fetch returns 403/429/Cloudflare challenge → use --mode stealth--mode dynamic--mode http (default)For custom logic beyond the CLI, write inline Python. See references/patterns.md for:
auto_save / adaptive — saves element fingerprints locally)scrapling mcp): starts a local network service for AI-native scraping. Only start if explicitly needed and trusted — it exposes a local HTTP server.auto_save=True: persists element fingerprints to disk for adaptive re-scraping. Creates local state in working directory.xvfb-run needed.安装 Scrapling - Stealth Web Scraper 后,可以对 AI 说这些话来触发它
Help me get started with Scrapling - Stealth Web Scraper
Explains what Scrapling - Stealth Web Scraper does, walks through the setup, and runs a quick demo based on your current project
Use Scrapling - Stealth Web Scraper to web scraping using Scrapling — a Python framework with anti-bot byp...
Invokes Scrapling - Stealth Web Scraper with the right parameters and returns the result directly in the conversation
What can I do with Scrapling - Stealth Web Scraper in my developer & devops workflow?
Lists the top use cases for Scrapling - Stealth Web Scraper, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/scrapling-fetcher/ 目录(个人级,所有项目可用),或 .claude/skills/scrapling-fetcher/(项目级)。重启 AI 客户端后,用 /scrapling-fetcher 主动调用,或让 AI 根据上下文自动发现并使用。
Scrapling - Stealth Web Scraper 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Scrapling - Stealth Web Scraper 可免费安装使用。请查阅仓库了解许可证信息。
Web scraping using Scrapling — a Python framework with anti-bot bypass (Cloudflare Turnstile, fingerprint spoofing), adaptive element tracking, stealth headl...
Automate my developer & devops tasks using Scrapling - Stealth Web Scraper
Identifies repetitive steps in your workflow and sets up Scrapling - Stealth Web Scraper to handle them automatically
Scrapling - Stealth Web Scraper 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。