微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🕸️

智能网页数据采集与结构化提取

XPR Web Scraping · v0.2.11
开发 安全 B 级 作者 paulgnz 公开目录收录
2.7k 下载 0 安装 13.3k 收藏 12 浏览

简介

自动化网页数据采集工具集,支持单页抓取、链接提取与多页并行处理,适用于市场调研与内容聚合

原始描述

Tools for fetching and extracting cleaned text, metadata, and links from single or multiple web pages with format options and link filtering.

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/xpr-web-scraping/
其它 Agent解压到它自己的 skills 目录,目录名用 xpr-web-scraping

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

技能正文


name: web-scraping description: Web scraping tools for fetching and extracting data from web pages

Web Scraping

You have web scraping tools for fetching and extracting data from web pages:

Single page:

  • scrape_url — fetch a URL and get cleaned text content + metadata (title, description, link count)
    • Use format="text" (default) for most tasks — strips all HTML
    • Use format="markdown" to preserve headings, links, lists, bold/italic
    • Use format="html" only when you need raw HTML

Link discovery:

  • extract_links — fetch a page and extract all links with text and type (internal/external)
    • Use the pattern parameter to filter by regex (e.g. "\\.pdf$" for PDF links)
    • Links are deduplicated and resolved to absolute URLs

Multi-page research:

  • scrape_multiple — fetch up to 10 URLs in parallel for comparison/research
    • One failure doesn't block others (uses Promise.allSettled)

Best practices:

  • Prefer "text" format for content extraction, "markdown" for preserving structure
  • Don't scrape the same domain more than 5 times per minute
  • Combine with store_deliverable to save scraped content as job evidence
  • For very large pages, the content is limited to 5MB

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

web-scrapingdata-extractionautomationhttp-clientcontent-parsingbatch-processing

同类 Skill