360 Secure SkillHub
360 安全技能中心

Amz Hot Keywords

通过无头 Selenium Chrome 访问 AMZ123,按给定种子关键词抓取最多 200 条 Amazon 品牌分析周度热搜词,比较本周与上周排名生成趋势标记,保存为 CSV 或 JSON 并返回文件路径。需 Python 3 与 Selenium 运行环境。

simoncai519
simoncai519
热度 56.27
最近更新 2026-05-11 17:41:45
分类:营销依赖:联网浏览搜索 / 代码执行 / 读写文件应用场景:市场分析 / 数据处理 / 自动化脚本 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add amz-hot-keywords
Metadata
name
amz-hot-keywords
description
Scrape Amazon Brand Analytics (ABA) weekly hot keyword rankings from AMZ123 and return structured keyword trend data. Use when the user asks about Amazon keyword rankings, hot search terms, keyword trends, ABA data, or wants a CSV/JSON of popular Amazon search terms. Trigger phrases include: 'hot keywords', 'search term rank', 'keyword trend', 'Amazon keyword', 'ABA data', '热搜词', '关键词排名', '关键词趋势'.
version
1.0.0

Amazon Hot Keywords Skill

Overview

This skill extracts weekly search‑term rankings from Amazon Brand Analytics via the public AMZ123 site. It returns a CSV (or JSON) containing the keyword, current week rank, last week rank, and trend (up/down/flat/new).

Core Workflow

  1. User provides a base keyword.
  2. scripts/amz_scraper.py launches a headless Selenium Chrome session, navigates to AMZ123, searches the keyword, and scrapes up to 200 related terms.
  3. The script calculates the trend by comparing the current rank with the previous week’s rank.
  4. Results are saved to amz123_hotwords_<keyword>_<timestamp>.csv (or .json).
  5. The file path is returned to the caller.

Usage

# Basic usage – CSV output
python3 $(pwd)/scripts/amz_scraper.py --keyword "dog bed"

# Limit results to 100 entries and specify output folder
python3 $(pwd)/scripts/amz_scraper.py \
    --keyword "yoga mat" \
    --max-results 100 \
    --output-dir ./data

Parameters

Flag Required Description Default
--keyword Yes Search term to seed the scrape -
--max-results No Max number of keywords to collect (max 200) 200
--output-dir No Directory for the CSV/JSON file current directory
--format No csv or json (default csv)
--headless No Run Chrome headlessly (true/false) true

References

  • See references/workflow.md for a step‑by‑step guide and troubleshooting tips.
  • See references/output.md for the exact CSV column order and JSON schema.

Scripts

The scraper implementation lives in scripts/amz_scraper.py.



Created by Simon Cai · More e-commerce skills: github.com/simoncai519/open-accio-skill