Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计通过

web-markdown-scraperWEB Markdown scraper 搜索

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

13,783

周安装

586

GitHub Stars

公开资料未说明

下载量

4,829
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:web-markdown-scraper(WEB Markdown scraper 搜索)
来源仓库:https://github.com/yumiu8103-hue/web-markdown-scraper
安装命令:
openclaw skills install web-markdown-scraper
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install web-markdown-scraper

简介

使用Scrapling抓取网页并用html2text转Markdown。

  • 支持静态HTTP与并发请求提升效率。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 适用于批量网页内容归档与轻量化存储。
  • 需合理设置超时与重试策略避免请求失败。
  • web-markdown-scraper 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
web_markdown_scraper
description
>
metadata
{"openclaw":{"emoji":"🕸️","requires":{"bins":["python3"]}}}

Web Markdown Scraper

Use this skill when the user wants to:

  • Scrape one or more public webpages (static or JavaScript-rendered)
  • Convert HTML pages into clean Markdown
  • Extract article/body text for summarization, analysis, or indexing
  • Bypass anti-bot protections (Cloudflare, Datadome, etc.) via stealth mode
  • Scrape many URLs concurrently (async mode)
  • Track page elements reliably across website redesigns (automatch)
  • Save the extracted results as .md files

Fetcher Mode Selection Guide

ModeFetcher ClassBest For
http (default)FetcherFast static pages, RSS, APIs
asyncAsyncFetcherBatch of 5+ static URLs in parallel
stealthStealthyFetcherAnti-bot sites, Cloudflare, fingerprint checks
dynamicPlayWrightFetcherHeavy SPAs, React/Vue/Angular apps

Decision rule: Start with http. If you get a 403 / CAPTCHA / empty body, switch to stealth. If the content is rendered client-side (empty on first load), use dynamic. Use async when scraping many static URLs at once to save time.

Inputs

URL sources

  • --url URL — one target URL (repeat flag for multiple: --url A --url B)
  • --url-file FILE — plain text file with one URL per line

Fetcher

  • --mode http|async|stealth|dynamic — fetcher backend (default: http)

Content extraction

  • --selector CSS — CSS selector for the main content area (omit = full page)
  • --preserve-links — keep hyperlinks in the Markdown output
  • --output-dir DIR — save per-page .md files and a master index.json here

AutoMatch — production resilience

  • --auto-save — fingerprint & persist selected elements to the local DB on first run
  • --auto-match — on subsequent runs, find elements by fingerprint even if the site

layout has changed (do NOT need to update the CSS selector)

Browser options (stealth / dynamic only)

  • --headless true|false|virtual — headless mode; virtual uses Xvfb (default: true)
  • --network-idle — wait until no network activity for ≥500 ms before capturing
  • --block-images — block image loading (saves bandwidth and proxy quota)
  • --disable-resources — drop fonts/images/media/stylesheets for ~25% faster loads
  • --wait-selector CSS — pause until this element appears in the DOM
  • --wait-selector-state attached|visible|detached|hidden — element state (default: attached)
  • --timeout MS — global timeout in ms (default: 30 000)
  • --wait MS — extra idle wait after page load in ms

StealthyFetcher extras (stealth mode only)

  • --humanize SECONDS — simulate human-like cursor movement (max duration in seconds)
  • --geoip — spoof browser timezone, locale, language, and WebRTC IP from proxy geolocation
  • --block-webrtc — prevent real-IP leaks via WebRTC
  • --disable-ads — install uBlock Origin in the browser session
  • --proxy URL — HTTP/SOCKS proxy as a URL string, or JSON:

'{"server":"host:port","username":"u","password":"p"}'

Reliability

  • --retry N — retry failed requests up to N times with exponential backoff (max 30 s)

Rules

  1. Only process public http:// or https:// pages.
  2. Never bypass login walls, CAPTCHAs, paywalls, or access controls.
  3. Prefer the main article or body content; avoid polluting the output with navigation,

headers, footers, or cookie banners — use --selector to target the content area.

  1. When --auto-save is used, always also pass --selector so Scrapling knows which

element fingerprint to record.

  1. On subsequent runs for layout-changed pages, use --auto-match instead of --auto-save.

Do not use both flags at once.

  1. Use --mode async for batch jobs with 5+ static URLs for parallel execution.
  2. Combine --disable-resources with --block-images in stealth/dynamic mode when

you only need text content — this can cut load times by up to 40%.

  1. Always inspect the top-level ok field and per-result ok fields before using content.
  2. If ok is false, report the exact error string — do not invent or guess content.
  3. When --network-idle is insufficient, use --wait-selector for a specific DOM element

to guarantee the content has loaded before capture.

Command Patterns

Basic static page

python3 "{baseDir}/scrape_to_markdown.py" --url "<URL>"

Static page — target specific content area

python3 "{baseDir}/scrape_to_markdown.py" --url "<URL>" --selector "article.main-content"

Stealth mode — bypass anti-bot protection

python3 "{baseDir}/scrape_to_markdown.py" --url "<URL>" --mode stealth --network-idle

Stealth + proxy + human fingerprint (maximum stealth)

python3 "{baseDir}/scrape_to_markdown.py" \
  --url "<URL>" \
  --mode stealth \
  --proxy "http://user:pass@host:port" \
  --humanize 2.0 \
  --geoip \
  --block-webrtc \
  --network-idle

Dynamic SPA page (Playwright Chromium)

python3 "{baseDir}/scrape_to_markdown.py" \
  --url "<URL>" \
  --mode dynamic \
  --wait-selector ".product-list" \
  --network-idle \
  --disable-resources

Async concurrent batch (multiple URLs)

python3 "{baseDir}/scrape_to_markdown.py" \
  --mode async \
  --url "<URL1>" --url "<URL2>" --url "<URL3>"

Batch from file + stealth + save to disk

python3 "{baseDir}/scrape_to_markdown.py" \
  --url-file urls.txt \
  --mode stealth \
  --disable-resources \
  --output-dir outputs

First-run automatch setup (save fingerprint)

python3 "{baseDir}/scrape_to_markdown.py" \
  --url "<URL>" \
  --selector ".article-body" \
  --auto-save \
  --output-dir outputs

Subsequent run after site layout change (adaptive match)

python3 "{baseDir}/scrape_to_markdown.py" \
  --url "<URL>" \
  --selector ".article-body" \
  --auto-match \
  --output-dir outputs

Full production scrape

python3 "{baseDir}/scrape_to_markdown.py" \
  --url "<URL>" \
  --mode stealth \
  --selector "main article" \
  --auto-match \
  --preserve-links \
  --network-idle \
  --disable-resources \
  --timeout 60000 \
  --retry 3 \
  --output-dir outputs

Output Handling

JSON is printed to stdout. Always check ok before using content.

Top-level fields:

  • oktrue only if every URL succeeded
  • total / succeeded / failed — count summary
  • results — array of per-URL result objects
  • output_index_file — path to saved index.json (if --output-dir used)

Per-URL result fields (when ok: true):

  • url — the requested URL
  • status — HTTP status code (e.g. 200)
  • title — page <title> text
  • markdown — extracted content as Markdown ← use this as main content
  • markdown_length — character count (useful for quality checks)
  • output_markdown_file — path to saved .md file (if --output-dir used)

On failure (ok: false in a result):

  • error — exact error message; report this verbatim, do not invent content

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

81.77%
按下载量换算3,949

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills