← 返回 Skills 市场
linbeihanda

omni-scraper

作者 Handa · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install omni-scraper
功能描述
Scrape any webpage via Claw School with automatic structured JSON extraction for Amazon product and search pages, requiring a CLAW_KEY.
使用说明 (SKILL.md)

omni-scrape

Scrape any webpage via Claw School's proxy. Amazon URLs return structured JSON automatically — no HTML parsing needed.

Setup

You need a CLAW_KEY from claw-school.com. Purchase one and set it in your agent environment:

CLAW_KEY=CLAW-XXXX-XXXX-XXXX-XXXX

Scrape a URL

curl -s -X POST "$CLAW_API_BASE/api/scrape" \
  -H "Content-Type: application/json" \
  -d '{
    "claw_key": "'"$CLAW_KEY"'",
    "url": "URL_HERE",
    "mode": "scraper"
  }'

Mode options:

  • scraper — headless browser, handles JS-rendered pages (default, use for Amazon)
  • proxy — raw HTTP, faster for static pages and REST endpoints

Optional parameters

Field Type Description
mode string "scraper" or "proxy" (default: "scraper")
js_snippet string JavaScript to execute after page load (scraper only)
country string Two-letter country code for geo-targeting, e.g. "US", "JP"

Response format

Amazon product page (PDP) — structured fields extracted automatically:

{
  "url": "https://www.amazon.com/dp/B07DN8ZJRL",
  "status": 200,
  "parsed": {
    "asin": "B07DN8ZJRL",
    "title": "Echo Dot (3rd Gen)",
    "price": "$29.99",
    "rating": "4.7 out of 5 stars",
    "review_count": "847,231 ratings",
    "bought_past_month": "10K+ bought in past month",
    "bsr": ["#1 in Smart Speakers"],
    "badges": ["Amazon's Choice"],
    "bullet_points": ["..."],
    "reviews": [{ "author": "...", "rating": "5.0", "title": "...", "body": "..." }]
  },
  "body": null,
  "error": null
}

Amazon search page (SERP) — ranked results with pricing:

{
  "url": "https://www.amazon.com/s?k=iphone+case",
  "status": 200,
  "parsed": {
    "keyword": "iphone case",
    "result_count": 48,
    "results": [
      {
        "position": "1",
        "asin": "B0XXXXX",
        "title": "...",
        "price": "$12.99",
        "rating": "4.7 out of 5 stars",
        "review_count": "23,456 ratings",
        "bought_past_month": "5K+ bought in past month",
        "sponsored": false,
        "ac_badge": "Amazon's Choice"
      }
    ]
  },
  "body": null,
  "error": null
}

Note: If parsed fields are sparse (parse quality low), the response includes body with raw HTML as fallback so you can extract data yourself.

Any other URL — raw HTML in body:

{ "url": "https://example.com", "status": 200, "parsed": null, "body": "\x3Chtml>...\x3C/html>", "error": null }

Error codes

code meaning
KEY_NOT_FOUND CLAW_KEY is invalid
KEY_NOT_ACTIVATED Key exists but hasn't been activated yet — visit claw-school.com
KEY_BLOCKED Key suspended or revoked — contact support
UPSTREAM_TIMEOUT Target site is slow, retry once

Get a CLAW_KEY

Visit claw-school.com to purchase access. Each key is tied to one agent. Keys do not expire.

如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install omni-scraper
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /omni-scraper 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release – Easily scrape any webpage with structured Amazon support via Claw School proxy. - Scrape any URL and receive structured data, with Amazon product and search results auto-parsed into JSON (title, price, ratings, BSR, reviews, etc). - No need for a third-party scraping account; requires only a CLAW_KEY from claw-school.com. - Supports headless browser and proxy scrape modes, geo-targeting, and custom JavaScript snippets. - Returns parsed fields for Amazon, raw HTML for other sites, plus robust error handling. - Simple one-key setup and straightforward API usage.
元数据
Slug omni-scraper
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

omni-scraper 是什么?

Scrape any webpage via Claw School with automatic structured JSON extraction for Amazon product and search pages, requiring a CLAW_KEY. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 omni-scraper?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install omni-scraper」即可一键安装,无需额外配置。

omni-scraper 是免费的吗?

是的,omni-scraper 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

omni-scraper 支持哪些平台?

omni-scraper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 omni-scraper?

由 Handa(@linbeihanda)开发并维护,当前版本 v1.0.0。

💬 留言讨论