Langsung ke konten
Skillpedia
Web scraping6.3k ยท #14257

amazon-product-detail

Fungsinya

Dokumen ini membaca detail yang ditampilkan di halaman produk Amazon mana pun di seluruh situs negara Amazon, termasuk harga, rating, ketersediaan, dan fitur. Skill ini ditujukan untuk pembeli, penjual, dan analis.

Kapan dipakai

  • โœ“Saat pembeli ingin detail lengkap sebuah halaman produk Amazon dalam satu catatan terstruktur.
  • โœ“Ketika penjual ingin rincian rating dan status stok sebuah produk.
  • โœ“Saat analis membutuhkan detail pengiriman dan pengembalian untuk daftar barang Amazon.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/browser-act/skills/blob/main/solutions/ecommerce/amazon-product-detail/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œBaca halaman produk Amazon ini dan berikan saya harga, rincian rating, status stok, dan fiturnya.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini membuka halaman produk di browser pengguna dan membaca data yang sudah ditampilkan di sana, lalu mengembalikan catatan terstruktur dengan field seperti judul, merek, harga, bintang, dan pengiriman.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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": "
Pertanyaan umum

Apakah perlu login?

Tidak. Skill ini menyebutkan bahwa halaman produk dapat dibaca tanpa login.

Apakah ia melewati kontrol akses?

Tidak. Ia hanya membaca data yang sudah ditampilkan di browser.

Berapa banyak field yang dikembalikan?

Skill ini menjelaskan lebih dari seratus field, termasuk harga, rincian bintang, dan peringkat terlaris.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
6.3k
Peringkat
#14257
Lisensi
MIT
Diperbarui
24/8/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa