trustpilot-reviews
它能做什么
这项技能根据公司域名读取一页公开的 Trustpilot 评价,并可选择筛选条件。适合研究客户反馈、比较公司或追踪投诉的人使用。
适用场景
- ✓当你想阅读某家公司最新的 Trustpilot 评价时。
- ✓当你只需要某家公司的一星评价或已验证评价的时候。
- ✓当你想查看某家公司是否回复评价时。
技能链接
https://github.com/browser-act/skills/blob/main/solutions/social-listening/trustpilot-reviews/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我显示 shopify.com 最近三个月的一星 Trustpilot 评价,包括日期和公司的回复。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能会打开公司的公开 Trustpilot 评价页面,并应用你选择的筛选条件。它返回该页面上的评价,包括评价人信息、评分、日期和公司回复。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Trustpilot — Reviews
Input a company domain plus optional filters → output paginated review records with reviewer info, ratings, dates, company replies, and 20+ structured fields per review.
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Extract one page of customer reviews from trustpilot.com/review/{domain} with the chosen filters applied. Designed to be called in a loop across pages to collect the full filtered review set.
Prerequisites
- Target page is reachable on the public web:
https://www.trustpilot.com/review/{domain} - No login required — Trustpilot review pages are publicly accessible
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, 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.
URL Pattern (server-side filters)
Trustpilot accepts filter values as URL query parameters. Build the URL before navigating:
https://www.trustpilot.com/review/{domain}?page={page}&languages={lang}&sort=recency&stars={stars}&verified={true|false}&replies={true|false}&date={period}&search={keyword}
All parameters except domain are optional. Recommended construction rules:
page: integer ≥ 1 (omit for page 1; pagination defaults to 20 per page)languages: single ISO code (e.g.en,da,de,es,fr); omit or useallfor no language filtersort: onlyrecencyis currently honoured by the public review page (olderrelevancyvalues are stripped on redirect)stars: single value1,2,3,4, or5— only one star tier can be selectedverified:trueto keep only verified reviewsreplies:trueto keep only reviews that received a company responsedate: one oflast30days,last3months,last6months,last12monthssearch: URL-encoded keyword to search inside review text
Country-of-reviewer filtering is not supported by Trustpilot's URL — it is applied client-side after extraction using --filter-country (see below).
DOM: extract reviews from current page (SSR JSON)
The Trustpilot review page is server-rendered with Next.js; the full reviews array is embedded in <script id="__NEXT_DATA__">. Extraction reads it directly — no separate API call needed.
Steps:
- Build the URL as described above.
navigate {built-url}wait stable --timeout 30000eval "$(python scripts/extract-reviews.py [options])"
Parameters (all optional flags / values):
--include-reviewer-metadata: addsreviewerNumberOfReviews,reviewerProfileIsVerified.--include-reply-analysis: addscompanyReplyPublishedDate,companyReplyUpdatedDate(null when no reply).--include-extended-metadata: addsreviewSource(e.g.Organic,Shopify,InvitationApi),reviewVerificationSource(e.g.invitation,complianceDocumentation),reviewLikes.--include-review-photos: addsreviewPhotoUrlsarray via best-effort DOM scan of the review card; returns[]when no photos.--no-experience-date: omit the defaultreviewDateOfExperiencefield.--filter-country {ISO2}: client-side filter — keep only reviews whose reviewercountryCodematches the given ISO Alpha-2 code (e.g.US,GB,DK). Case-insensitive. Applied after the page-level filters from the URL.
Output example (one page, with all optional flags):
{
"reviews": [ // array of review objects (≤ perPage items)
{
"companyName": "Wag + Tail",
"companyPageUrl": "https://www.trustpilot.com/review/shopwagandtail.com?page=1&languages=en",
"businessUnitId": "624c24851220e2743a4d7916", // Trustpilot internal company ID
"reviewId": "65fd6a055de8c560404349e1",
"reviewUrl": "https://www.trustpilot.com/reviews/65fd6a055de8c560404349e1",
"reviewTitle": "Great product looks so cute on my girl",
"reviewDe
常见问题
我需要登录 Trustpilot 吗?
不需要。描述中说明,Trustpilot 评价页面是公开的,无需登录。
我可以使用哪些筛选条件?
你可以按页码、星级、语言、已验证评价、公司回复、日期范围和关键词筛选。
它会一次返回所有评价吗?
每次运行只返回一页,因此要收集完整的评价,需要对每一页分别调用一次。
详情
作者的原始描述
Trustpilot customer reviews scraper for any company listed on trustpilot.com — given a company domain (e.g. shopify.com, apple.com, shopwagandtail.com) plus optional filters (page number, single star rating 1-5, single language ISO code, verified-only flag, has-company-reply flag, date period last30days/last3months/last6months/last12months, free-text keyword search, and reviewer countryCode client-side filter), extracts paginated reviews with 20+ fields per review: reviewId, reviewUrl, reviewTitle, reviewDescription, reviewRatingScore (1-5), reviewDate (ISO publishedDate), reviewDateOfExperien
repo: browser-act/skills
热度
- GitHub 星标
- 6.3k
- 排名
- #14315
- 许可证
- MIT
- 更新时间
- 2026/8/24
评论
- …
同一仓库的更多技能
browser-act-skill-forge
6.3k帮你的智能体探索一次网站,并保存一个带脚本的可复用技能,使之后从该网站提取数据更快。
browser-act
6.3k帮你的智能体运行浏览器自动化工具,打开页面、读取渲染后的内容、填写表单、截图,并管理已登录的会话。
1688-product-detail
6.3k帮你的智能体从 1688.com 批发页面提取商品详情,例如价格阶梯、规格变体、卖家统计数据和属性。
airbnb-listing-detail
6.3k帮你的智能体根据 ID 获取 Airbnb 房源的公开详情,例如照片、设施、评分和房屋规则。