跳到主要内容
知仓学习社ZHICANG

amazon-competitor-analyzer

Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pric…

读凭据联网写文件严重 12 · 高危 1browser-act/skills

它会碰到什么

扫了多少3 个文本文件,18 KB
它会碰到什么读凭据联网写文件
命中总数20 处
命中统计严重 12 · 高 1 · 中 6 · 低 1
逐条看命中(13 条严重或高危)
  • 严重 .env.example:2cred-paths
    # Copy this file to .env and replace the placeholder with your actual API key
  • 严重 amazon_competitor_analyzer.py:21cred-paths
    # Try to load .env file if python-dotenv is available
  • 严重 amazon_competitor_analyzer.py:24cred-paths
    # Load .env from same directory as script
  • 严重 amazon_competitor_analyzer.py:26cred-paths
    env_file = script_dir / ".env"
  • 严重 amazon_competitor_analyzer.py:30cred-paths
    # If python-dotenv not available, check .env manually
  • 严重 amazon_competitor_analyzer.py:32cred-paths
    env_file = script_dir / ".env"
  • 严重 SKILL.md:49cred-paths
    Copy the `.env.example` file to `.env` and add your API key:
  • 严重 SKILL.md:49cred-paths
    Copy the `.env.example` file to `.env` and add your API key:
  • 严重 SKILL.md:52cred-paths
    cp .env.example .env
  • 严重 SKILL.md:52cred-paths
    cp .env.example .env
  • 严重 SKILL.md:53cred-paths
    # Edit .env and replace YOUR_API_KEY_HERE with your actual API key
  • 严重 SKILL.md:105cred-paths
    Optional (for automatic .env loading):
  • amazon_competitor_analyzer.py:43cred-envread
    BROWSERACT_API_KEY = os.getenv("BROWSERACT_API_KEY", "")

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Amazon Competitor Analyzer

This skill scrapes Amazon product data from user-provided ASINs using browseract.com's browser automation API and performs deep competitive analysis.

When to Use This Skill

  • Competitive research: Input multiple ASINs to understand market landscape
  • Pricing strategy analysis: Compare price bands across similar products
  • Specification benchmarking: Deep dive into technical specs and feature differences
  • Review insights: Analyze review quality, quantity, and sentiment patterns
  • Market opportunity discovery: Identify gaps and potential threats

What This Skill Does

  1. ASIN Data Collection: Extract product title, price, rating, review count, images
  2. Specification Extraction: Deep extraction of technical specs, features, and materials
  3. Review Quality Analysis: Analyze review patterns, keywords, and sentiment
  4. Multi-Dimensional Comparison: Side-by-side comparison of key metrics
  5. Moat Identification: Identify core competitive advantages and barriers
  6. Vulnerability Discovery: Find competitor weaknesses and market opportunities

Features

  1. Stable and accurate data extraction: Pre-set workflows ensure consistent results.
  2. Browser automation: Uses BrowserAct's automated browser instances for reliable data collection.
  3. Global accessibility: BrowserAct provides servers in multiple regions.
  4. Fast execution: Optimized workflow templates complete tasks quickly.
  5. Cost efficient: Reduces manual research time and associated costs.

Prerequisites

BrowserAct.com Account Setup

You need a BrowserAct.com account and API key:

  1. Visit browseract.com
  2. Sign up for an account
  3. Navigate to API Settings
  4. Generate an API key

Environment Configuration

Copy the .env.example file to .env and add your API key:

cp .env.example .env
# Edit .env and replace YOUR_API_KEY_HERE with your actual API key

Or set as environment variable:

export BROWSERACT_API_KEY="your-api-key-here"

Usage

Basic Analysis

python amazon-competitor-analyzer/amazon_competitor_analyzer.py B09G9GB4MG

Multiple Products

python amazon-competitor-analyzer/amazon_competitor_analyzer.py B09G9GB4MG B07ABC11111 B08N5WRWNW

With Output Directory

python amazon-competitor-analyzer/amazon_competitor_analyzer.py B09G9GB4MG -o ./output

Output Formats

  • CSV: Structured data table
  • Markdown: Comprehensive report
  • JSON: Raw data with analysis

Parameters

| Parameter | Type | Default | Description |

|-----------|------|---------|-------------|

| asins | string | - | One or more Amazon ASINs to analyze |

| --output, -o | string | ./output | Output directory |

| --format | string | all | Output format (csv/markdown/json/all) |

| --api-key | string | env | BrowserAct API key |

Dependencies

This skill requires the following Python packages:

pip install requests

Optional (for automatic .env loading):

pip install python-dotenv

Environment Variables

| Variable | Required | Description |

|----------|----------|-------------|

| BROWSERACT_API_KEY | Yes | Your BrowserAct API key. Get it from BrowserAct Console |

Error Handling

  • Invalid API Key: Check BROWSERACT_API_KEY environment variable
  • Network Error: Verify internet connection
  • Rate Limit: Wait and retry with exponential backoff
  • Invalid ASIN: Verify ASIN format (10 alphanumeric characters)

Version: 1.0.0

Updated: 2026-02-09

Template ID: 77814333389670716

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。