Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от akillness★ 63 звезды на GitHub

Об этом скилле

scrapling - routing-first adaptive web scraping

Keyword: scrapling · adaptive scraping · stealthy fetch · scrapling spider

Respect 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:

  1. If HTML is already available, start with Selector
  2. If a live page is needed, start with Fetcher
  3. If the content is rendered client-side, move to DynamicFetcher
  4. If the rendered path is still blocked or empty, move to StealthyFetcher
  5. If the job is now queueing, link following, retries, or checkpoints, move to spiders
  6. 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 only
  • fetchers — HTTP + browser-backed fetchers
  • shell — interactive CLI shell workflows
  • ai — MCP server workflows
  • all — 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.

Полный SKILL.md на GitHub

Установить scrapling в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write
Edit
Glob
Grep
WebFetch

Вложенные файлы

SKILL.toonevals/evals.jsonreferences/cli-and-mcp.mdreferences/fetchers-and-sessions.mdreferences/intake-packets-and-route-outs.mdreferences/parser-and-adaptive.mdreferences/research-harvesting.mdreferences/spiders.mdscripts/install.shscripts/research_harvest_gate.pyscripts/run-extract.shscripts/run-mcp.shskill-autoresearch-scrapling/SKILL.md.baselineskill-autoresearch-scrapling/changelog.mdskill-autoresearch-scrapling/dashboard.htmlskill-autoresearch-scrapling/results.jsonskill-autoresearch-scrapling/results.tsv

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить scrapling с