
Taobao Product Reviews
Fetch customer reviews for a Taobao or Tmall product by itemId, returning reviewer...
Install
npx skills add browser-act/skills --skill taobao-product-reviews -g -a claude-code -y- Repository
- browser-act/skills6.3k
- Category
- Engineering
- Updated
- 2mo ago
- License
- MIT
- Context cost
- Mediumabout 1,700 tokens
- Runs scripts
- Yes, review before use
What it does
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.
Taobao, Product Reviews
itemId → paginated customer reviews (reviewer, date, purchased SKU, text, photos)
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Navigate to a Taobao/Tmall product page, load the reviews section, and extract customer review content.
Prerequisites
- Target page is already open in the browser:
https://item.taobao.com/item.htm?id={itemId} - User is logged in to Taobao (user avatar or nickname visible in the page header)
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.
2. Login Verification
If login status for Taobao has been confirmed in the current session → skip this step.
Otherwise: open https://www.taobao.com and observe the page header:
- User nickname visible → logged in, continue execution
- Login button visible → not logged in, inform the user that Taobao login is needed first, assist the user in completing the login flow
User refuses or cannot log in → terminate execution.
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, never bypassing authentication or access controls. JS code is encapsulated in Python files under the
scripts/directory, invoked viaeval "$(python scripts/xxx.py {params})".$(...)is bash syntax; it is recommended to use the bash tool for execution.
DOM: product reviews (data extraction)
The reviews section is lazy-loaded below the main product area. Follow these steps to load and extract reviews:
