Command Palette

Search for a command to run...

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

web-scraping

БесплатноБез исполняемых скриптовНе проверен

Use when "scrape this site at scale", "fetch N thousand pages", "how many workers should this scraper use", "am I hammering this server", "we're getting 429s…

edwinhuот edwinhu★ 28 звёзд на GitHub

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

Web Scraping

What this skill carries — grep references/ for any subject the names below miss: !d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"

Bulk fetching from hosts you do not own: how fast you may go, when a paid transport beats a direct fetch, and how to prove the fallback you are relying on has ever run.

Contents

Iron Law: the rate is computed, not chosen

**NO CONCURRENT NETWORK CLIENT WITHOUT A COMPUTED EFFECTIVE REQUEST RATE AND THE TARGET'S DOCUMENTED CEILING, BOTH WRITTEN IN THE CODE.** This is constraint **E7** in the ds engineering set — `${CLAUDE_SKILL_DIR}/../../rules/ds-rate-limit-choice.md` is the normative text; this skill is its vendor-facing half.

workers / sleep_seconds is the policy. A worker count with no arithmetic beside it is not a tuning decision — it is an unreviewed multiplication of load on somebody else's server, usually from an IP the institution owns and cannot swap. Raising 1 worker to 8 to "help the run finish faster" is not helpful if it is the run that gets the university's address throttled: the user then loses the whole corpus, not the hours you saved.

# ceiling: SEC EDGAR publishes 10 req/s and requires a declared User-Agent
# https://www.sec.gov/search-filings/edgar-search-assistance/accessing-edgar-data (read 2026-09-08)
WORKERS, SLEEP_SECONDS = 8, 1.0
EFFECTIVE_RPS = WORKERS / SLEEP_SECONDS          # 8.0 req/s = 80% of the documented ceiling
assert EFFECTIVE_RPS <= 10.0

No published ceiling → say so with the URL and the date you looked, and hold at 1 req/s. "Not documented" is not "unlimited".

Quota vs rate limit

Name which one the target enforces, in a comment next to the worker count. The two have opposite corrections, so a client that has not named one has guessed.

caps more workers →
Rate limit requests per unit time hits the cap sooner per second; total budget untouched, throttled requests retry, job still completes
Quota total requests per IP/key per period does not reduce total requests — only exhausts the budget sooner

Under a quota, parallelising buys nothing on the binding constraint and brings the wall forward. Under a rate limit, parallelising up to the ceiling is exactly right.

A fact recorded in a module docstring but never connected to the worker count is a fact nobody applied. Put it where the decision is.

Verify the fallback before you rely on it

A declared fallback transport — proxy, unblocker, mirror, secondary API — is unverified until it has executed. Count it; do not read about it.

xan frequency -s transport data/output/manifest.csv
# direct,1538
# proxy,0        <- documented as required; has never once run

Zero uses forces one of three, stated explicitly:

  1. Exercise it — force the fallback on a 5–10 row test, record the result, keep the dependency.
  2. Downgrade the claim — mark it UNVERIFIED — 0 executions as of <date> everywhere it appears.
  3. Delete it — dependency, credentials and docs together.

Leaving a never-run path documented as required is the worst option: it makes an untested branch look like a safety margin, so the run proceeds at a pressure the fallback was supposed to justify.

Direct fetch or paid transport

Situation Use
Public data, documented ceiling, no anti-bot Direct fetch at the computed rate. A proxy here buys nothing and bills per request.
Per-IP quota you will exhaust Paid transport — it is the only thing that changes the binding constraint, because it changes the IP. More local workers cannot.
Anti-bot / CAPTCHA / fingerprinting Paid unblocker. Rolling your own is a maintenance treadmill.
Geo-restricted content Proxy with geo-targeting.
Data already collected by a vendor Buy the dataset or archive dump; do not re-crawl.

Vendor table

Every figure below was read from the vendor's own page on 2026-09-08; URLs in References. Pricing and limits move — re-read before quoting them to anyone.

Zyte API Bright Data ScrapingBee
Полный SKILL.md на GitHub

Установить web-scraping в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

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

references/bright-data-api.mdreferences/bright-data-datasets-catalog.mdreferences/bright-data-finra-sec-coverage.mdreferences/bright-data-webarchive-api.md

FAQ

Что делает скилл web-scraping?

Use when "scrape this site at scale", "fetch N thousand pages", "how many workers should this scraper use", "am I hammering this server", "we're getting 429s / blocked / CAPTCHAs", "should we use a proxy", "Zyte", "ScrapingBee", "Web Unlocker", "residential proxy", "rotate proxies", "scrape with Web Unlocker", "query Bright Data", "Bright Data datasets", "Bright Data Web Archive / Wayback alternative", "FINRA BrokerCheck data", "SEC IAPD / adviserinfo data", "Investment Adviser Public Disclosure", "broker/adviser disclosure snapshots", "LinkedIn/Crunchbase/Glassdoor company or people dataset", or any use of the Bright Data API (datasets/list, Web Archive search/dump, Web Unlocker zones).

Как установить скилл web-scraping?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл web-scraping запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить web-scraping с