web-crawler
БесплатноЗапускает вложенные скриптыНе проверенWeb scraping plus social data: YouTube, TikTok, Instagram (incl. stories, followers, likers, hashtags), LinkedIn, Reddit, Threads, plus China apps and Asian…
от Starchild-ai-agent★ 34 звезды на GitHubОб этом скилле
Preferred entry: call exports.py (don't hand-roll requests)
Ready-made helpers live in skills/web-crawler/exports.py. Prefer them over
writing your own proxied_get/proxied_post calls — they already inject the
proxy credentials, so there is no API key to find (don't read
$SCRAPECREATORS_API_KEY / $FIRECRAWL_API_KEY, don't check .env, don't ask
the user).
import sys; sys.path.insert(0, "/data/workspace/skills/web-crawler")
from exports import scrape_markdown, youtube_transcript, sc_get
scrape_markdown("https://example.com/article") # Firecrawl fallback
youtube_transcript("https://youtube.com/watch?v=ID") # ScrapeCreators
youtube_video("https://youtube.com/watch?v=ID") # metadata: title/description/uploader (+ transcript)
sc_get("/v1/tiktok/profile", handle="charlidamelio") # any SC endpoint
from exports import archive_fallback # paywall / Firecrawl-403
archive_fallback("https://www.nytimes.com/.../article.html") # archive snapshot
Transcript route — ONE entry for any media link
from core.skill_tools import web_crawler
r = web_crawler.get_transcript(url, caller_id="chat:<thread>")
# {found, kind, source, text, url, title, tried, note}
Design rule: captions / subtitles / published transcripts are METADATA;
the media file is PAYLOAD. Exhaust every metadata provider first; touch the
media only when the user explicitly agrees. Same rule claude-video, spoken.md
and yt-dlp's --skip-download workflow follow. Nothing here is site-specific:
| provider (cost order) | what it is | identity / validity check |
|---|---|---|
media_info(url) |
yt-dlp extract_info(download=False) — 1800+ sites, returns title, duration, upload date, channel, caption-track URLs. Zero media bytes. |
track fetched must be 2xx with a real body |
RSS <podcast:transcript> |
Podcasting 2.0 standard, any podcast | feed item matched by duration ±5 % + date ±3 d; transcript URL must be 2xx, > 500 chars, not an error page |
| show's own YouTube upload | channel = the YouTube URL the show declares in its RSS (else search hit whose channel name equals the show name minus stopwords) | candidates = duration ±5 % AND date ±3 d; identity = title similarity ≥ 0.6 OR show-notes overlap (≥ 6 shared distinctive tokens, Jaccard ≥ 0.15). A candidate that fails identity is returned in candidate with found=False — never delivered as the episode |
scrape_markdown(url) |
any other page (publisher, Snipd, blog) — browser-rendered, survives WAF 403 | > 1000 chars |
found=False ⇒ report kind, title, tried, note (and candidate if
any) and ask the user before any download. YouTube is recognised by URL:
the captions API runs even when yt-dlp metadata fails, and a page scrape is
never reported as a transcript for a media URL. yt-dlp --skip-download / -J / --list-subs are
metadata calls and pass the bash gate; yt-dlp <url>, curl … .mp3, ffmpeg,
whisper are held for confirmation.
Title only, no link → web_search("<show> <title> transcript") then
get_transcript(<page url>).
Why: answering 403s on transcript hosts by downloading audio and running
whisper is slow, expensive and often incomplete. get_transcript instead
follows RSS → the channel the feed declares → the matching upload → captions,
with no audio download.
Site audit — "check all links" / "this button doesn't work"
You are the auditor. exports.py gives you small, site-agnostic tools that
observe and return raw data; they never decide what is broken. There is no
keyword list, no per-site config and no verdict function — every site is
different, so you look, form a hypothesis, test it, and judge from evidence.
| Tool | Returns |
|---|---|
fetch(url, method="GET") |
raw status, final_url, headers, body, error |
check_urls(urls, method="HEAD") |
fetch for many URLs in parallel, no bodies |
extract_refs(html, base_url) |
every URL-like reference + where it came from (a[href], link[rel=…], inline-script, attr[data-…], meta[refresh]…) |
parse_sitemap(xml) |
<loc> entries of a sitemap / sitemap index |
browse(url, actions=[…], viewport=…, mobile=…) |
real Chromium: rendered links (incl. shadow DOM), visible controls, JS exceptions, console errors, ≥400 responses, failed requests, and for each action you asked for: URL before/after, navigations with status, new windows with their own status, downloads, DOM changed?, new links |
Method (details and worked checks: reference/site-audit-method.md;
full worked example: reference/site-audit-case-study.md):
- Map the site from several sources, then reconcile. Home page HTML via
extract_refs,robots.txt→ sitemap(s) viaparse_sitemap, rendered DOM viabrowse, and any URL the user named. Read theinline-scriptandattr[...]hits yourself — route tables and JS navigation live there. A page the user mentions that none of your sourc
Установить web-crawler в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл web-crawler?
Web scraping plus social data: YouTube, TikTok, Instagram (incl. stories, followers, likers, hashtags), LinkedIn, Reddit, Threads, plus China apps and Asian e-commerce via Apify (Douyin, Xiaohongshu, Weibo, Bilibili, Zhihu, Douban, Xueqiu, Taobao, JD, 1688, Xianyu, Shopee, Lazada, Temu, Trip.com reviews), plus robust web-page fallback extraction. Use when extracting public posts, transcripts, or pages JS-heavy enough to block plain fetch (e.g. download YouTube transcript, scrape TikTok comments, listing pages behind anti-bot/Cloudflare). Auto-fallback trigger terms: web_fetch failed, 403, anti-bot, cloudflare, JS-heavy page. Also use for whole-site link audits and "this button/link does not work" reports (check all links, broken links, 404, button not working) — you investigate with site-agnostic fetch / browse tools.
Как установить скилл web-crawler?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл web-crawler запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic