Token导航 LogoToken导航TokenDH.com
待分类敏感数据github未标认证来源可访问许可证需确认审计提醒

scrapescrape 命令行

Agent Skill

scrape 用于处理浏览器自动化、网页检查和页面信息提取,适合在 Codex、Claude、Cursor、Gemini CLI 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

186

周安装

8

GitHub Stars

301

下载量

65
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:scrape(scrape 命令行)
来源仓库:https://github.com/davekilleen/dex
仓库路径:skills/scrape
安装命令:
npx skills add https://github.com/davekilleen/dex --skill scrape
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/davekilleen/dex --skill scrape

简介

用于网页数据整理与动态内容提取,支持绕过反爬机制。

  • 适合获取 JS 渲染页面、处理 Cloudflare 防护及多 URL 批量抓取。
  • 使用时需结合 CSS 选择器预过滤内容以节省 token,区分 stealth 与普通模式。
  • 安装方式:通过 npx skills add 从指定 GitHub 仓库添加,需确认权限与维护状态。
  • 注意:工具输出不能直接作为最终结论,应人工复核数据来源与合法性边界。

SKILL.md

scrape

Extract data from any website using Scrapling's MCP tools. Bypasses Cloudflare, handles dynamic JS-rendered pages, supports CSS selectors to pre-filter content (saves tokens).

Usage

/scrape <url>
/scrape <url> with selector .article-content
/scrape stealth <url>
/scrape bulk <url1> <url2> <url3>

When to Use (Tool Selection)

ScenarioToolWhy
Simple page, no anti-botscrapling_getFastest. HTTP with browser TLS fingerprint
JS-rendered / SPA contentscrapling_fetchUses real Chromium browser
Cloudflare / anti-bot protectedscrapling_stealthy_fetchStealth mode, solves captchas
Multiple pages, same patternscrapling_bulk_get / scrapling_bulk_fetchParallel processing

Implementation

Step 1: Parse User Intent

Determine from the user's request:

  • URL(s) to scrape
  • CSS selector (if specified — e.g., .main-content, #article, table.data)
  • Stealth needed? (Cloudflare sites, login-protected, anti-bot mentions)
  • Bulk? (multiple URLs)

Step 2: Choose the Right Scrapling MCP Tool

Default path (try in order, escalate on failure):

  1. Start with scrapling_get — fast HTTP, handles most sites
  2. If content is empty/blocked → escalate to scrapling_fetch (real browser)
  3. If still blocked → escalate to scrapling_stealthy_fetch (stealth mode)

User explicitly asks for stealth: Go straight to scrapling_stealthy_fetch

Multiple URLs: Use the bulk_ variants for parallel processing

Step 3: Call the MCP Tool

Use the Scrapling MCP server tools. All tools accept:

  • url (required): The URL to scrape
  • css_selector (optional): CSS selector to extract specific elements — always use this when possible to reduce token consumption

Single page:

Call scrapling MCP tool: get
Arguments: { "url": "<url>", "css_selector": "<selector if provided>" }

Stealth:

Call scrapling MCP tool: stealthy_fetch
Arguments: { "url": "<url>", "css_selector": "<selector if provided>" }

Bulk:

Call scrapling MCP tool: bulk_get
Arguments: { "urls": ["<url1>", "<url2>"], "css_selector": "<selector>" }

Step 4: Process Results

The MCP returns extracted content (HTML or text depending on selector).

If user wants raw data: Present it formatted If user wants summary: Summarize the extracted content If user wants vault storage: Save to 00-Inbox/Scrape - [Title].md:

# [Page Title]

**Source:** [URL]
**Scraped:** YYYY-MM-DD
**Selector:** [CSS selector used, if any]

## Content

[Extracted content]

Step 5: Handle Failures

ErrorAction
Empty contentEscalate to next fetcher tier
Connection refusedCheck URL is valid
Cloudflare challengeAuto-escalate to stealthy_fetch
TimeoutRetry with longer timeout, suggest fetch for slow JS sites

Smart Defaults

  • News/blog articles: Auto-suggest article,.post-content,.entry-content selectors
  • Product pages: Auto-suggest .product,.price,.description selectors
  • Tables: Auto-suggest table selector, offer to convert to markdown table
  • Lists: Auto-suggest ul, ol selectors

Examples

User: /scrape https://example.com/blog/ai-trends
→ Use scrapling_get, auto-detect article content

User: /scrape stealth https://protected-site.com/data
→ Use scrapling_stealthy_fetch with Cloudflare bypass

User: scrape this page and grab just the pricing table: https://saas.com/pricing
→ Use scrapling_get with css_selector="table" or ".pricing"

User: scrape these 5 competitor pages and compare their features
→ Use scrapling_bulk_get, extract feature lists, present comparison

Prerequisites

Scrapling must be installed with MCP support:

pip install "scrapling[ai]"
scrapling install

The scrapling MCP server must be configured in .mcp.json.

Relationship to Other Tools

  • WebFetch (native): Basic URL fetch, no anti-bot, no selectors. Use for simple known-good pages.
  • Firecrawl MCP: Cloud-based, requires API key, good for crawling entire sites. Use when you need recursive crawl.
  • Scrapling: Local, free, stealthy, selector-based. Default choice for single-page or small-batch scraping.
  • Apify: Marketplace of specialized scrapers. Use for platform-specific extraction (LinkedIn, Twitter, etc.)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.47%
按下载量换算22

Claude

29.41%
按下载量换算19

Cursor

18.91%
按下载量换算12

Gemini CLI

8.4%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills