Skillpedia
استخراج بيانات المواقع6.3k · #14315

trustpilot-reviews

ما الذي تفعله

تقرأ هذه المهارة صفحة واحدة من مراجعات Trustpilot العامة لنطاق شركة، مع فلاتر اختيارية. وهي موجهة للأشخاص الذين يدرسون ملاحظات الزبائن أو يقارنون الشركات أو يتتبعون الشكاوى.

متى تستخدمها

  • ✓عندما تريد قراءة أحدث مراجعات Trustpilot لشركة.
  • ✓عندما تحتاج إلى المراجعات ذات نجمة واحدة أو المراجعات الموثّقة فقط لشركة.
  • ✓عندما تريد معرفة ما إذا كانت شركة ترد على مراجعاتها.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/browser-act/skills/blob/main/solutions/social-listening/trustpilot-reviews/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“اعرض لي مراجعات Trustpilot ذات نجمة واحدة لموقع shopify.com خلال آخر ثلاثة أشهر، مع التواريخ وأي ردود من الشركة.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تفتح المهارة صفحة مراجعات 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
آخر تحديث
24‏/8‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة