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

web-scraper-as-a-service网络抓取即服务

Agent Skill

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

总安装

102,168

周安装

4,133

GitHub Stars

3

下载量

32,072
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install web-scraper-as-a-service

简介

构建具有干净数据输出的客户端就绪网络抓取工具。在为客户创建抓取工具、从网站提取数据或交付抓取项目时使用。

SKILL.md

name
web-scraper-as-a-service
description
Build client-ready web scrapers with clean data output. Use when creating scrapers for clients, extracting data from websites, or delivering scraping projects.
argument-hint
[target-url-or-brief]
allowed-tools
Read, Write, Edit, Grep, Glob, Bash, WebFetch, WebSearch

Web Scraper as a Service

Turn scraping briefs into deliverable scraping projects. Generates the scraper, runs it, cleans the data, and packages everything for the client.

How to Use

/web-scraper-as-a-service "Scrape all products from example-store.com — need name, price, description, images. CSV output."
/web-scraper-as-a-service https://example.com --fields "title,price,rating,url" --format csv
/web-scraper-as-a-service brief.txt

Scraper Generation Pipeline

Step 1: Analyze the Target

Before writing any code:

  1. Fetch the target URL to understand the page structure
  2. Identify:

- Is the site server-rendered (static HTML) or client-rendered (JavaScript/SPA)? - What anti-scraping measures are visible? (Cloudflare, CAPTCHAs, rate limits) - Pagination pattern (URL params, infinite scroll, load more button) - Data structure (product cards, table rows, list items) - Total estimated volume (number of pages/items)

  1. Choose the right tool:

- Static HTML → Python + requests + BeautifulSoup - JavaScript-rendered → Python + playwright - API available → Direct API calls (check network tab patterns)

Step 2: Build the Scraper

Generate a complete Python script in scraper/ directory:

scraper/
  scrape.py           # Main scraper script
  requirements.txt    # Dependencies
  config.json         # Target URLs, fields, settings
  README.md           # Setup and usage instructions for client

scrape.py must include:

# Required features in every scraper:

# 1. Configuration
import json
config = json.load(open('config.json'))

# 2. Rate limiting (ALWAYS — be respectful)
import time
DELAY_BETWEEN_REQUESTS = 2  # seconds, adjustable in config

# 3. Retry logic
MAX_RETRIES = 3
RETRY_DELAY = 5

# 4. User-Agent rotation
USER_AGENTS = [
    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36...",
    # ... at least 5 user agents
]

# 5. Progress tracking
print(f"Scraping page {current}/{total} — {items_collected} items collected")

# 6. Error handling
# - Log errors but don't crash on individual page failures
# - Save progress incrementally (don't lose data on crash)
# - Write errors to error_log.txt

# 7. Output
# - Save data incrementally (append to file, don't hold in memory)
# - Support CSV and JSON output
# - Clean and normalize data before saving

# 8. Resume capability
# - Track last successfully scraped page/URL
# - Can resume from where it left off if interrupted

Step 3: Data Cleaning

After scraping, clean the data:

  1. Remove duplicates (by unique identifier or composite key)
  2. Normalize text (strip extra whitespace, fix encoding issues, consistent capitalization)
  3. Validate data (no empty required fields, prices are numbers, URLs are valid)
  4. Standardize formats (dates to ISO 8601, currency to numbers, consistent units)
  5. Generate data quality report:
   Data Quality Report
   ───────────────────
   Total records: 2,487
   Duplicates removed: 13
   Empty fields filled: 0
   Fields with issues: price (3 records had non-numeric values — cleaned)
   Completeness: 99.5%

Step 4: Client Deliverable Package

Generate a complete deliverable:

delivery/
  data.csv                    # Clean data in requested format
  data.json                   # JSON alternative
  data-quality-report.md      # Quality metrics
  scraper-documentation.md    # How the scraper works
  README.md                   # Quick start guide

scraper-documentation.md includes:

  • What was scraped and from where
  • How many records collected
  • Data fields and their descriptions
  • How to re-run the scraper
  • Known limitations
  • Date of scraping

Step 5: Output to User

Present:

  1. Summary: X records scraped from Y pages, Z% data quality
  2. Sample data: First 5 rows of the output
  3. File locations: Where the deliverables are saved
  4. Client handoff notes: What to tell the client about the data

Scraper Templates

Based on the target type, use the appropriate template:

E-commerce Product Scraper

Fields: name, price, original_price, discount, description, images, category, sku, rating, review_count, availability, url

Real Estate Listings

Fields: address, price, bedrooms, bathrooms, sqft, lot_size, listing_type, agent, description, images, url

Job Listings

Fields: title, company, location, salary, job_type, description, requirements, posted_date, url

Directory/Business Listings

Fields: business_name, address, phone, website, category, rating, review_count, hours, description

News/Blog Articles

Fields: title, author, date, content, tags, url, image

Ethical Scraping Rules

  1. Always respect robots.txt — check before scraping
  2. Rate limit — minimum 2 second delay between requests
  3. Identify yourself — use realistic but honest User-Agent
  4. Don't scrape personal data (emails, phone numbers) unless explicitly authorized by the client AND the data is publicly displayed
  5. Cache responses — don't re-scrape pages unnecessarily
  6. Check ToS — note if the site's terms prohibit scraping and inform the client

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

78.54%
按下载量换算25,189

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills