scrapling
БесплатноЗапускает вложенные скриптыНе проверенRoute web-scraping work into the lightest workable Scrapling mode instead of defaulting to a browser. Use when the user needs HTML extraction, JS-rendered…
от akillness★ 63 звезды на GitHubОб этом скилле
scrapling - routing-first adaptive web scraping
Keyword:
scrapling·adaptive scraping·stealthy fetch·scrapling spiderRespect each target site's terms, robots, rate limits, authorization boundaries, and anti-abuse policies.
Scrapling is most useful when you choose the smallest scraping mode that fits the job:
- parse known HTML before reaching for a browser
- start with plain HTTP before rendering JavaScript
- escalate to stealth only when simpler paths fail
- switch to spiders only when crawl state and multi-page orchestration become the real problem
When to use this skill
- The user needs one page or a few pages extracted and you must decide between parser-only, HTTP fetch, browser rendering, or stealth
- The user wants to prototype with
scrapling extract,scrapling shell, or wrapper scripts instead of writing Python first - The user wants adaptive selector recovery because the target DOM changes over time
- The user wants Scrapling exposed to an agent via MCP
- The user is about to turn repeated fetches into a site crawl and needs to know when Scrapling spiders are justified
- The user keeps drifting toward Playwright/Crawlee-style orchestration, direct API interception, or managed unblockers and needs an honest route-out
Instructions
Step 1: Capture one intake packet before choosing tools
Collect the minimum packet:
- Target class: raw HTML, normal web page, JS-rendered app, protected site, or many-page crawl
- Desired output: CSS/XPath extraction, Markdown/text file, structured records, or long-running crawl output
- Operational need: quick probe, repeated session reuse, agent/MCP access, or resumable crawling
- Constraint: install budget, browser availability, auth/proxy limits, and whether direct API/JSON access may be better than DOM scraping
Use this rule set:
- If HTML is already available, start with
Selector - If a live page is needed, start with
Fetcher - If the content is rendered client-side, move to
DynamicFetcher - If the rendered path is still blocked or empty, move to
StealthyFetcher - If the job is now queueing, link following, retries, or checkpoints, move to spiders
- If the real need is browser automation, pre-navigation request interception, or a managed unblocker, route out instead of over-promising Scrapling
Detailed packet examples and route-outs live in references/intake-packets-and-route-outs.md.
Step 2: Install the skill (plugin) and only the package profile you need
Register this routing skill as a jeo-skills plugin, then install the upstream Scrapling package profile.
npx [email protected] add https://github.com/akillness/jeo-skills --skill scrapling
Use a virtual environment for the Python package unless the user explicitly wants a system install.
bash scripts/install.sh --profile parser
bash scripts/install.sh --profile fetchers
bash scripts/install.sh --profile shell
bash scripts/install.sh --profile ai
bash scripts/install.sh --profile all
scripts/install.sh performs both steps together by default; use SKIP_SKILL=1 to install only the Python package, or SKIP_PACKAGE=1 to register only the plugin (see the script header for GLOBAL/AGENTS knobs).
Installation guidance:
parser— local HTML parsing onlyfetchers— HTTP + browser-backed fetchersshell— interactive CLI shell workflowsai— MCP server workflowsall— only when the user truly needs the full surface
Browser-backed flows require scrapling install. Parser-only workflows do not.
Step 3: Choose the lightest extraction path that fits
A. Parser-only path
Use this when HTML is already available or the user mainly needs selector logic.
from scrapling import Selector
page = Selector(html_doc, url="https://example.com")
items = page.css("article h2::text").getall()
Use this path for:
- local HTML fixtures
- saved responses
- quick selector authoring
- low-cost extraction without network/browser concerns
B. HTTP fetch path
Use Fetcher or FetcherSession when plain HTTP is likely enough.
from scrapling.fetchers import Fetcher
page = Fetcher.get("https://example.com", impersonate="chrome")
title = page.css("title::text").get()
Prefer this path for:
- docs, blogs, many marketing pages, search results, simple product pages
- cheap repeated requests with session reuse
- cases where the user only needs rendered HTML if evidence proves HTTP is insufficient
C. Dynamic browser path
Use DynamicFetcher or DynamicSession when the target is JS-rendered.
from scrapling.fetchers import DynamicFetcher
page = DynamicFetcher.fetch(
"https://example.com/app",
network_idle=True,
wait_selector=".content"
)
Reach for this when:
- the page is a SPA/dashboard
- content appears only after client-side rendering
- small interaction or wait controls are enough
D.
Установить scrapling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWriteEditGlobGrepWebFetchВложенные файлы
FAQ
Что делает скилл scrapling?
Route web-scraping work into the lightest workable Scrapling mode instead of defaulting to a browser. Use when the user needs HTML extraction, JS-rendered page retrieval, protected-target escalation, quick CLI scraping, agent-facing MCP access, or a larger crawl with Scrapling spiders. Triggers on: scrapling, scrape website, crawl site, adaptive scraping, selector drift, stealthy fetch, browser scraping, scrape to markdown, scrapling mcp, scrapling spider, research harvesting, literature scraping, paper metadata.
Как установить скилл scrapling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл scrapling запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic