← 返回 Skills 市场
1824
总下载
3
收藏
8
当前安装
1
版本数
在 OpenClaw 中安装
/install amazon-product-fetcher
功能描述
Fetch complete Amazon product data including title, current price, currency, star rating, review count, availability, main image, and product URL. Works from...
使用说明 (SKILL.md)
\r \r
Amazon Product Fetcher 🛒\r
\r 从 Amazon 公开商品页面抓取完整商品数据,无需任何 API Key,纯 Python 标准库。\r \r
When to Use\r
\r
- "Get the details for this Amazon product: [URL]"\r
- "What's the price of ASIN B0XXXXXXXX on Amazon?"\r
- "Fetch product info from amazon.com/dp/B0XXXXXXXX"\r
- "Look up [product] on Amazon and tell me the price"\r \r
Quick Start\r
\r
# 通过 URL\r
python scripts/fetch.py --url "https://www.amazon.com/dp/B0CX44VMKZ"\r
\r
# 通过 ASIN\r
python scripts/fetch.py --asin B0CX44VMKZ\r
\r
# JSON 格式输出\r
python scripts/fetch.py --asin B0CX44VMKZ --json\r
```\r
\r
## Output Fields\r
\r
| 字段 | 说明 |\r
|------|------|\r
| `asin` | Amazon 商品编号 |\r
| `title` | 商品标题 |\r
| `price` | 当前价格数字 |\r
| `currency` | 货币符号(如 `$`、`€`) |\r
| `rating` | 星级评分(如 `4.5`) |\r
| `reviews` | 评论数量 |\r
| `availability` | 库存状态 |\r
| `image_url` | 主图 URL |\r
| `product_url` | Amazon 商品链接 |\r
\r
## No API Key Needed\r
\r
直接解析 Amazon 公开商品页面 HTML。使用真实浏览器 User-Agent 避免被屏蔽。\r
\r
> **提示:** Amazon 偶尔会返回 CAPTCHA 页面。若出现此情况,稍后重试即可。大批量抓取请使用 `skill-amazon-spapi`(需要卖家凭证)。\r
\r
## Configuration (openclaw.json)\r
\r
无需配置 API Key。可选配置:\r
\r
```json\r
{\r
"skills": {\r
"entries": {\r
"amazon-product-fetcher": {\r
"enabled": true\r
}\r
}\r
}\r
}\r
```\r
\r
## Troubleshooting\r
\r
| 问题 | 解决方案 |\r
|------|----------|\r
| 价格为空 | Amazon 可能使用了不同的价格 widget;重试一次 |\r
| CAPTCHA / 503 | 等待 30 秒后重试 |\r
| 无法从 URL 提取 ASIN | 改用 `--asin` 直接传入 |
安全使用建议
This skill is internally coherent and implements what it claims: it fetches public Amazon product pages and parses them with regex using only the Python standard library. Things to consider before installing: (1) scraping Amazon at scale can trigger CAPTCHAs, IP blocking, or violate Amazon's terms — for bulk use prefer their official SP-API; (2) the script will perform network requests to arbitrary Amazon URLs you or the agent provide, so avoid feeding it private or sensitive links; (3) the code optionally respects an AMAZON_MARKETPLACE env var (not declared in metadata) — harmless but note the metadata mismatch; (4) if you plan autonomous agent use, limit invocation frequency and inputs to avoid unintentional mass scraping. If you want, you can review the included scripts/fetch.py (readable stdlib code) to confirm behavior before enabling the skill.
功能分析
Type: OpenClaw Skill
Name: amazon-product-fetcher
Version: 1.0.0
The skill is a standard Amazon product information fetcher that uses Python's built-in `urllib` and `re` modules to scrape public HTML pages. It does not require external dependencies or API keys, and its logic is confined to fetching and parsing product data (title, price, rating, etc.) from Amazon domains. There is no evidence of data exfiltration, unauthorized command execution, or malicious prompt injection in `SKILL.md` or `scripts/fetch.py`.
能力评估
Purpose & Capability
Name/description match the included code: the script fetches Amazon product pages and extracts title, price, rating, reviews, availability, image, and URL. No unrelated services, credentials, or binaries are requested.
Instruction Scope
SKILL.md and the CLI instruct only to fetch and parse public Amazon pages; there are no instructions to read unrelated files, access other credentials, or transmit data to third-party endpoints beyond Amazon. It notes CAPTCHA and points to a separate official SP-API skill for bulk/seller access.
Install Mechanism
No install spec or third-party downloads; the skill is instruction-only with one included Python script that uses only the standard library. Nothing is written to disk by an installer step.
Credentials
The code optionally reads AMAZON_MARKETPLACE from the environment to pick an Amazon domain, but the skill metadata declares no required env vars. This is not a secret/credential and appears harmless, but it is a minor mismatch between declared requirements and actual behavior.
Persistence & Privilege
The skill is not always-enabled, does not modify other skills or system settings, and does not request elevated or persistent privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install amazon-product-fetcher - 安装完成后,直接呼叫该 Skill 的名称或使用
/amazon-product-fetcher触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release. Fetch Amazon product data including price, rating, availability. No API key required, stdlib only
元数据
常见问题
Amazon Product Fetcher 是什么?
Fetch complete Amazon product data including title, current price, currency, star rating, review count, availability, main image, and product URL. Works from... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1824 次。
如何安装 Amazon Product Fetcher?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install amazon-product-fetcher」即可一键安装,无需额外配置。
Amazon Product Fetcher 是免费的吗?
是的,Amazon Product Fetcher 完全免费(开源免费),可自由下载、安装和使用。
Amazon Product Fetcher 支持哪些平台?
Amazon Product Fetcher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Amazon Product Fetcher?
由 Louis Lu(@mysmth2003)开发并维护,当前版本 v1.0.0。
推荐 Skills