/Catalogue/Prompt/browser-act/browser-act-skills-ecommerce-reviews

Origin: github

ecommerce-reviews

Extract customer reviews from any e-commerce product page or reviews page. Returns reviewer name, star rating, date, review title, review body, verified purchase status, and helpful votes per review. Works on Amazon, WooCommerce, Shopify, and any site with standard review markup. Supports pagination for multi-page review sections. Use when: product reviews, customer feedback, review scraping, get reviews, sentiment analysis data, review extraction, customer ratings, extract customer opinions, product feedback, user reviews, review mining, bulk review collection, review analysis, scrape ratings and comments, ecommerce review data.

by browser-act · updated 1mo ago · imported from GitHub

Installs0+0/7d
Security score92/100
Retention 14d0%
GitHub stars6K

Skill logic

Execution graph
User message
Prompt rewrites behaviour
Response

SKILL.md

View on GitHub ↗

E-commerce — Product Reviews

Product URL → paginated customer reviews (reviewer, rating, date, title, body, verified, helpful votes)

Language

All process output to user (progress updates, process notifications) follows the user's language.

Objective

Extract customer reviews from any publicly accessible e-commerce product or reviews page using a multi-strategy approach (JSON-LD Review → Amazon DOM → WooCommerce DOM → generic microdata → generic CSS patterns).

Prerequisites

  • Target browser is open and connected
  • No login required for public review pages

Pre-execution Checks

1. Tool Readiness

If browser-act has been confirmed available in the current session → skip this step.

Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.

Capability Components

This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page. JS code is encapsulated in Python files under the scripts/ directory, invoked via eval "$(python scripts/xxx.py {params})". Use the bash tool for execution.

DOM: Extract reviews from current page

Navigate to the product/reviews page first, then extract:

eval "$(python scripts/extract-reviews.py --max-reviews 20)"

Parameters:

  • --max-reviews: max reviews to return per page, default 20

Output example:

{
  "count": 20,
  "reviews": [
    {
      "reviewer": "John D.",
      "rating": 5.0,
      "date": "Reviewed in the United States on May 15, 2026",
      "title": "Great product, exactly as described",
      "body": "I've been using this for two weeks and it works perfectly...",
      "verified": true,
      "helpful_votes": 42
    }
  ]
}

Composite: Product URL → reviews with sort and pagination

Step 1 — Navigate to reviews page:

PlatformReviews URL pattern
Amazonhttps://www.amazon.com/product-reviews/{ASIN}?sortBy=recent (most recent) or sortBy=helpful
Amazon (from product page)Scroll to reviews section or click "See all reviews" link, wait stable
WooCommerceProduct page URL with #reviews anchor; reviews are inline on the page
ShopifyReviews are typically inline on the product page
GenericNavigate to product URL; reviews section is usually below product info

Step 2 — Extract reviews:

eval "$(python scripts/extract-reviews.py --max-reviews 20)"

Step 3 — Paginate (Amazon): Amazon review pages support URL pagination:

  • Most recent sort: https://www.amazon.com/product-reviews/{ASIN}?sortBy=recent&pageNumber={page}
  • Helpful sort: https://www.amazon.com/product-reviews/{ASIN}?sortBy=helpful&pageNumber={page}

For each page: navigate {reviews_url_with_page} → wait stable → re-run extract-reviews.py

Termination: when count returns 0, or no new reviews appear compared to prior page.

Pagination

URL Pagination (Amazon): Increment pageNumber parameter in the reviews URL. Start from 1.

DOM Pagination (WooCommerce/generic): Look for a "Next" pagination link on the reviews section. Use eval "$(python ../ecommerce-listing/scripts/extract-listing-next-page.py)" to detect it, then navigate.

Termination: has_next is false, or count is 0.

Success Criteria

result.count >= 1 AND reviews[0].body != null

Known Limitations

  • Amazon: navigate from https://www.amazon.com first on fresh sessions to avoid bot detection
  • JSON-LD reviews are often limited to a small subset (3–5 reviews) even when hundreds exist; use the Amazon-specific URL for full review extraction
  • WooCommerce and Shopify review data depends on which review plugin is installed; body extraction may be null if a non-standard plugin is used
  • Review dates may be locale-formatted strings rather than ISO dates depending on the site's configuration

Execution Efficiency

  • Batch orchestration: Loop through review pages serially; add 1–2 second intervals between navigations
  • Test before batch execution: Test with page 1 before running multi-page extraction
  • Error resumption: Record page number; on failure, resume from last successful page

Experience Notes

Path: {working-directory}/browser-act-skill-forge-memories/ecommerce-scraper-ecommerce-reviews.memory.md

Before execution: If the file exists, read it first — it records unexpected situations encountered during past executions; adjust strategy order accordingly.

After execution: If an unexpected situation is encountered (strategy became ineffective, page redesigned, anti-scraping upgraded, better path discovered), append a line: {YYYY-MM-DD}: {what happened} → {conclusion}

Discussion

No comments yet — start the thread.

Sign in to join the discussion.

/More from browser-act/skills

browser-act· 1mo agoCommunity
goofish-search-list

Prompts · Python · v0.1.0

Scrapes second-hand item search results from Goofish (闲鱼/xianyu, goofish.com) — China's largest second-hand marketplace. Input: keyword, optional sort/filter params. Output: list of items with id, title, price, image, location, want-count per page (30 items/page). Use when user mentions goofish, 闲鱼, xianyu, 二手交易, second-hand marketplace China, 二手商品搜索, search used goods, scrape goofish listings, xianyu search results, collect second-hand prices, monitor used item prices, 闲鱼关键词搜索, 闲鱼数据采集, 批量抓取闲鱼, goofish scraper, goofish data, xianyu data extraction, 二手商品价格监控, used iPhone prices, 二手手机价格. Also applies to: price research on Chinese second-hand market, competitor product monitoring via used goods listings, inventory analysis.

#agent-infrastructure#ai-agents#automation

0 6K
browser-act· 1mo agoCommunity
taobao-keyword-search

Prompts · Python · v0.1.0

Search Taobao and Tmall product listings by keyword, returning paginated product cards with title, price, shop, image, sales, and tags. Use when user asks to search Taobao, find products on Taobao/Tmall, scrape Taobao search results, get product listings from Taobao, collect Taobao items by keyword, 搜索淘宝, 淘宝关键词搜索, 采集淘宝商品, 抓取淘宝搜索结果, 淘宝天猫商品列表. Also applies to bulk keyword searches, price monitoring across keywords, and competitive product research on Taobao.

#agent-infrastructure#ai-agents#automation

0 6K
browser-act· 1mo agoCommunity
taobao-product-detail

Prompts · Python · v0.1.0

Fetch full product detail from a Taobao or Tmall product page by itemId, returning title, price, shop info, images, SKU variants, and product attributes. Use when user asks to get product details from Taobao, scrape a Taobao item page, extract product info by item ID, fetch Tmall product data, 抓取淘宝商品详情, 获取淘宝商品信息, 淘宝商品页面采集, 天猫商品详情, 按商品ID获取信息. Also applies to building product databases, price tracking by itemId, and product comparison research.

#agent-infrastructure#ai-agents#automation

0 6K
browser-act· 1mo agoCommunity
taobao-product-reviews

Prompts · Python · v0.1.0

Fetch customer reviews for a Taobao or Tmall product by itemId, returning reviewer name, date, purchased variant, review text, and photo URLs. Use when user asks to get product reviews from Taobao, scrape Taobao customer feedback, extract buyer reviews by item ID, collect Tmall ratings and comments, 采集淘宝商品评价, 抓取淘宝买家评论, 获取淘宝商品评论, 天猫商品评价抓取, 按商品ID获取评价. Also applies to sentiment analysis of product reviews, building review datasets, and monitoring product rating changes.

#agent-infrastructure#ai-agents#automation

0 6K