跳到正文
Skillpedia
网页抓取6.3k · #14315

trustpilot-reviews

它能做什么

这项技能根据公司域名读取一页公开的 Trustpilot 评价,并可选择筛选条件。适合研究客户反馈、比较公司或追踪投诉的人使用。

适用场景

  • ✓当你想阅读某家公司最新的 Trustpilot 评价时。
  • ✓当你只需要某家公司的一星评价或已验证评价的时候。
  • ✓当你想查看某家公司是否回复评价时。

技能链接

https://github.com/browser-act/skills/blob/main/solutions/social-listening/trustpilot-reviews/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/browser-act/skills/blob/main/solutions/social-listening/trustpilot-reviews/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 via eval "$(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 use all for no language filter
  • sort: only recency is currently honoured by the public review page (older relevancy values are stripped on redirect)
  • stars: single value 1, 2, 3, 4, or 5 — only one star tier can be selected
  • verified: true to keep only verified reviews
  • replies: true to keep only reviews that received a company response
  • date: one of last30days, last3months, last6months, last12months
  • search: 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:

  1. Build the URL as described above.
  2. navigate {built-url}
  3. wait stable --timeout 30000
  4. eval "$(python scripts/extract-reviews.py [options])"

Parameters (all optional flags / values):

  • --include-reviewer-metadata: adds reviewerNumberOfReviews, reviewerProfileIsVerified.
  • --include-reply-analysis: adds companyReplyPublishedDate, companyReplyUpdatedDate (null when no reply).
  • --include-extended-metadata: adds reviewSource (e.g. Organic, Shopify, InvitationApi), reviewVerificationSource (e.g. invitation, complianceDocumentation), reviewLikes.
  • --include-review-photos: adds reviewPhotoUrls array via best-effort DOM scan of the review card; returns [] when no photos.
  • --no-experience-date: omit the default reviewDateOfExperience field.
  • --filter-country {ISO2}: client-side filter — keep only reviews whose reviewer countryCode matches 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能