taobao-product-reviews
できること
Taobaoの商品ページを開いてレビューの欄を読み込み、日付、購入したオプション、本文、写真のリンクを含む購入者レビューを集めます。購入者の反応を調べる販売者と分析担当者向けです。
使う場面
- ✓販売者が、Taobaoの商品に対する購入者の意見を読みたいとき。
- ✓分析担当者が、Tmallの商品レビューの感情分析をしたいとき。
- ✓ブランドが、どの購入オプションに不満が多いかを知りたいとき。
スキルのリンク
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/taobao-product-reviews/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Taobaoの商品ID 123456789の購入者レビューを集めて、よくある不満をまとめてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、Taobaoへのサインインを確認し、商品ページを開いて、レビューの欄を読み込みます。各レビューの名前、日付、購入オプション、本文、写真を読み取ります。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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:
navigate "https://item.taobao.com/item.htm?id={itemId}"wait stable- Close any popup: look for buttons with text "开心收下", "不了", "关闭" and click to dismiss
- Scroll to trigger lazy loading of the tabs/reviews section:
scroll down --amount 8000 wait --selector "[class*='tabTitleItem--']" --state attached --timeout 10000- If timeout:
scroll down --amount 8000again and retry wait once more - If still no tabs after 2 attempts: take
screenshotto confirm page state; the product page may be rendering in a condensed mode — check Known Limitations below
- If timeout:
eval "$(python scripts/extract-reviews.py '{itemId}')"
Output example:
[
{
"username": "一笑奈何",
"date": "2026-06-03",
"purchasedSku": "轻巧白|英转中转换器【适用国内电器】适用马来西亚/新加坡等国家",
"content": "商品非常好,造工很用心!,还会再回购!",
"photos": [
"https://gw.alicdn.com/bao/uploaded/i1/O1CN015Cyg4b2FPR2YNq3PD_!!4611686018427383816-0-rate.jpg"
],
"rating": null
}
]
Notes:
purchasedSku: the specific variant the reviewer purchased (extracted from "已购:{sku}" prefix in review header)content: review text body; may be empty if reviewer submitted only photosphotos: review photo URLs; empty array if no photosrating: star rating; not always visible in current page layout (null is common)- Reviews shown are the default sort (most recent or most helpful as determined by Taobao)
Error handling: if result count = 0 after scroll attempts, the reviews section may not have loaded in the current browser rendering environment. Try navigating to the product page fresh (navigate again) and repeating the scroll sequence. If still failing, this is a known rendering limitation — see Known Limitations below.
DOM: paginate to next review page
After extracting current page reviews:
eval "$(python scripts/next-review-page.py)"- Returns
{"hasNext": true, "buttonText": "下一页"}if next page exists, or{"hasNext": false}if on last page
- Returns
- If
hasNextis true:stateto find the "下一页" button index →click <index> wait stable- Re-run
eval "$(python scripts/extract-reviews.py '{itemId}')"
Enum Parameters
[collection failed] Sort/filter options for reviews (e.g., newest, most helpful): these controls exist in the reviews section UI but require the tabs section to be loaded; their URL parameters are not exposed and must be set via UI clicks on the sort tabs within the reviews section.
Pagination
DOM Pagination: Click the "下一页" button in the reviews section footer. Each page shows ~10 reviews. Termination: "下一页" button is absent or hasNext returns false.
Success Criteria
`result cou
よくある質問
Taobaoのログインは必要ですか?
はい。スキルは、まずTaobaoにサインインしているユーザーを確認します。
写真も含まれますか?
はい。レビューに写真がある場合、その写真のリンクを返します。
多くのレビューページを読めますか?
はい。スキルは、レビューの欄をページごとに読み取ります。
詳細
作者による元の説明
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.
repo: browser-act/skills
人気
- GitHubのスター
- 6.3k
- ランキング
- #14276
- ライセンス
- MIT
- 更新日
- 2026/8/24
コメント
- …
このリポジトリの他のスキル
browser-act-skill-forge
6.3k一度サイトを調べて、スクリプト付きの再利用できるスキルを保存するのを支援します。そのサイトからのデータ取得が次回から速くなります。
browser-act
6.3kブラウザー自動化ツールで、ページを開いて内容を読んだり、フォーム入力、スクリーンショット、ログイン状態の維持を行えるよう支援します。
1688-product-detail
6.3k1688.comの卸売ページから、価格帯、バリエーション、販売者の評価、属性などの商品詳細を取得するのを支援します。
airbnb-listing-detail
6.3kAirbnbの掲載IDから、写真、設備、評価、宿泊ルールなど、公開されている詳細情報を取得するのを支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。