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

amazon-product-detail

ما الذي تفعله

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

متى تستخدمها

  • ✓عندما يريد المتسوق التفاصيل الكاملة لصفحة منتج في أمازون في سجل مُهيكل واحد.
  • ✓عندما يريد البائع توزيع التقييم وحالة المخزون لمنتج.
  • ✓عندما يحتاج المحلل إلى تفاصيل التوصيل والإرجاع لقائمة من منتجات أمازون.

رابط المهارة

https://github.com/browser-act/skills/blob/main/solutions/ecommerce/amazon-product-detail/SKILL.md

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

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

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

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

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

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

“اقرأ صفحة منتج أمازون هذه وأعطني السعر وتوزيع التقييم وحالة المخزون والمميزات.”

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

كيف تعمل

تفتح المهارة صفحة المنتج في متصفح المستخدم وتقرأ البيانات المعروضة فيها، ثم تعيد سجلًا مُهيكلًا بحقول مثل العنوان والعلامة التجارية والسعر والنجوم والتوصيل.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Amazon — Product Detail

Input any Amazon product URL → output full product record (100+ fields).

Language

All process output to user (progress updates, process notifications) follows the user's language.

Objective

Extract the complete product record from any Amazon detail page URL across all Amazon regional TLDs, including price, ratings breakdown, attributes, variants, bestseller ranks, seller info, delivery, and sample reviews.

Prerequisites

  • Target page is already open in the browser: any Amazon product URL (e.g. https://www.amazon.com/dp/{ASIN}, https://www.amazon.com/gp/product/{ASIN}, https://www.amazon.co.uk/dp/{ASIN}, or the canonical SEO-slug URL https://www.amazon.com/{slug}/dp/{ASIN})
  • No login required

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. Its role is equivalent to copy-pasting on the user's behalf — the data is already on screen, automation merely saves time. JS code is encapsulated in Python files under the scripts/ directory, invoked via browser-act --session {name} eval "$(python scripts/xxx.py {params})". The $(...) is bash command substitution — it runs the python script, captures its printed JS text, and hands that JS string as a single argument to browser-act eval. Do not run eval "$(python ...)" as a bare shell command; that would ask bash to execute the JS as shell, which fails.

DOM: extract full product detail from current product page

Amazon detail pages are server-rendered HTML — no XHR/fetch API for detail data. All fields come from stable DOM selectors:

  1. navigate {any Amazon product URL, e.g. https://www.amazon.com/dp/{ASIN}}
  2. wait stable
  3. Extract: browser-act --session {name} eval "$(python scripts/extract-product-detail.py)"

On error paths, the script returns:

  • {"error": true, "message": "product_not_found: 404 page"} when the URL resolves to Amazon's not-found page
  • {"error": true, "message": "productTitle not found - page may not be a product detail page"} when the URL resolves to a non-detail page (e.g. search results, homepage)

Output example:

{
  "asin": "B09S3HNMHF",                                // parsed from /dp/{ASIN} or /gp/product/{ASIN} path segment
  "url": "https://www.amazon.com/dp/B09S3HNMHF",       // canonical origin + pathname
  "title": "Samsung 14\" Galaxy Chromebook Go ...",    // #productTitle
  "brand": "Samsung",                                  // #bylineInfo, falls back to attributesMapped.Brand/Manufacturer
  "price": {"value": 179.99, "currencyRaw": "$", "raw": "$179.99"},   // current buybox price, null when no offer
  "listPrice": {"value": 190.99, "currencyRaw": "$", "raw": "$190.99"}, // strike-through list price, null when absent
  "stars": 4.3,                                        // 0-5 average rating, null when no reviews
  "reviewsCount": 632,                                 // total review count, null when no reviews
  "starsBreakdown": {"5 star": 70, "4 star": 13, "3 star": 5, "2 star": 3, "1 star": 9},  // percentage per star bucket
  "answeredQuestions": null,                           // number, null when absent or non-numeric
  "inStock": true,                                     // derived from availability text, null when unclear
  "inStockText": "In Stock",                           // raw #availability text
  "delivery": "FREE delivery Wednesday, July 15",      // primary delivery message, null when absent
  "fastestDelivery": null,                             // secondary/fastest delivery, null when absent
  "returnPolicy": "30-day return period",              // null when absent
  "breadCrumbs": "Electronics > Computers > Laptops > Traditional Laptops",  // joined with ' > ', "" when absent
  "features": ["Slim design", "12-hour battery", "..."],  // #feature-bullets bullet points
  "description": "A+ in performance and value...",     // #productDescription, null when absent
  "bookDescription": null,                             // #bookDescription_feature_div for books, null otherwise
  "thumbnailImage": "
الأسئلة الشائعة

هل تحتاج إلى تسجيل دخول؟

لا. تقول المهارة إن صفحات المنتجات تُقرأ دون تسجيل دخول.

هل تتجاوز أي ضوابط وصول؟

لا. تقرأ فقط البيانات المعروضة في المتصفح.

كم حقلًا تعيد؟

تصف المهارة أكثر من مئة حقل، تشمل السعر وتوزيع النجوم وترتيب الأكثر مبيعًا.

التفاصيل

الوصف الأصلي من المؤلف

Amazon product detail page scraper: extract full product data from any open Amazon product detail URL (any /dp/{asin} or /gp/product/{asin} page across all Amazon regional TLDs) — returns asin, url, title, brand, price, listPrice, stars, reviewsCount, starsBreakdown (5/4/3/2/1 star percentages), answeredQuestions, inStock, inStockText, delivery, fastestDelivery, returnPolicy, breadCrumbs, features (bullet points), description, bookDescription, thumbnailImage, highResolutionImages, galleryThumbnails, productOverview (Brand/Model/etc.), attributes (tech spec table), attributesMapped (flat key-va

repo: browser-act/skills

الشعبية

نجوم GitHub
6.3k
الترتيب
#14257
الترخيص
MIT
آخر تحديث
24‏/8‏/2026

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

0

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

التعليقات

  • …

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

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