amazon-bestseller-listing
यह क्या करती है
यह बताती है कि Amazon Best Sellers पेज पर क्रम वाली उत्पाद सूची कैसे पढ़ें, श्रेणियों और पेजों में। यह उन खरीदारों और विश्लेषकों के लिए है जिन्हें किसी श्रेणी की मौजूदा रैंकिंग चाहिए।
कब इस्तेमाल करें
- ✓जब विश्लेषक को Amazon श्रेणी के शीर्ष 50 उत्पाद उनकी रैंक के साथ चाहिए।
- ✓जब विक्रेता देखना चाहे कि उसके उत्पाद श्रेणी के best-seller चार्ट में कहाँ हैं।
- ✓जब किसी को Best Sellers सूची का अगला पेज चाहिए।
Skill का लिंक
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/amazon-bestseller-listing/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Amazon Best Sellers सूची में kitchen knives के सबसे ऊपर के उत्पाद दिखाइए, कीमत और रेटिंग के साथ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह स्किल Best Sellers पेज ब्राउज़र में खोलती है और क्रम वाले उत्पाद कार्ड पढ़ती है, जिनमें रैंक, शीर्षक, लिंक, कीमत, सितारे और समीक्षा संख्या शामिल हैं। यह श्रेणी और पेजिंग विवरण भी पढ़ती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Amazon — Best Sellers Listing
Input any Amazon Best Sellers (/zgbs/ or /gp/bestsellers/) URL → output ranked product list (position 1..N) + category info + pagination.
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Extract the ranked product list from any Amazon Best Sellers page for any category or sub-category, across all Amazon regional TLDs, with pagination to walk beyond the first 50 items.
Prerequisites
- Target page is already open in the browser: any Amazon Best Sellers URL (e.g.
https://www.amazon.com/gp/bestsellers/{category-slug},https://www.amazon.com/Best-Sellers/zgbs/{category-slug},https://www.amazon.com/Best-Sellers/zgbs/{category-slug}/{node-id}, or the paginated variant?pg={pageNumber}) - 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 viabrowser-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 tobrowser-act eval. Do not runeval "$(python ...)"as a bare shell command; that would ask bash to execute the JS as shell, which fails.
DOM: extract bestseller cards from current best-sellers page
Bestseller pages are server-rendered — no XHR/fetch API for chart data. Cards use the stable #gridItemRoot container (30 cards per page, 2 pages up to top 50).
navigate {any Amazon bestseller URL, e.g. https://www.amazon.com/gp/bestsellers/{category}, https://www.amazon.com/Best-Sellers/zgbs/{category}?pg=2}wait stable- Extract:
browser-act --session {name} eval "$(python scripts/extract-bestseller.py)"
On error path, the script returns:
{"error": true, "message": "no bestseller cards found - is this a /bestsellers/, /gp/bestsellers/ or /zgbs/ page?"}when#gridItemRootselectors match zero cards (possibly wrong URL, or Amazon returned an interstitial)
Output example:
{
"categoryName": "Electronics", // parsed from document.title
"categoryFullName": "Best Electronics", // full title
"categoryUrl": "https://www.amazon.com/gp/bestsellers/electronics", // origin + pathname
"currentPage": 1, // page from .a-pagination .a-selected, defaults 1
"hasNextPage": true, // true when 'Next page' pagination link exists
"nextPageUrl": "https://www.amazon.com/Best-Sellers/zgbs/electronics/?pg=2", // absolute URL, null when last page
"itemCount": 30, // typically 30 per page
"items": [
{
"rank": 1, // extracted from .zg-bdg-text (e.g. "#1"), falls back to grid index
"asin": "B08JHCVHTY", // 10-char ASIN from data-asin
"title": "blink plus plan with monthly auto-renewal", // truncated title from p13n-sc-css-line-clamp
"url": "https://www.amazon.com/Blink-Plus-Plan-monthly-auto-renewal/dp/B08JHCVHTY/...", // absolute product URL
"image": "https://images-na.ssl-images-amazon.com/images/I/31...png", // thumbnail
"imageAlt": "blink plus plan with monthly auto-renewal", // img alt
"price": {"value": 11.99, "currencyRaw": "$", "raw": "$11.99"}, // null when not shown
"stars": 4.4, // 0-5 rating, null when no reviews
"reviewCount": 277638, // total ratings, null when absent
"ratingRaw": "4.4 out of 5 stars" // full a11y text
}
]
}
Pagination
URL Pagination: Amazon bestseller pages use ?pg={N} (starting at 1, typically pages 1-2 with 30 cards each = top 50). To iterate:
- Read
nextPageUrlf
अक्सर पूछे जाने वाले सवाल
क्या यह Amazon के अलग-अलग देशों की साइटों पर काम करती है?
हाँ। स्किल कहती है कि यह Amazon की क्षेत्रीय साइटों पर काम करती है।
क्या पहले पेज से आगे जा सकती है?
हाँ। यह पेजिंग स्थिति पढ़ती है और सूची के अगले पेज पर जा सकती है।
क्या लॉगिन चाहिए?
नहीं। स्किल कहती है कि Best Sellers पेज को लॉगिन की ज़रूरत नहीं है।
जानकारी
लेखक का मूल विवरण
Amazon Best Sellers listing scraper: extract product cards from any Amazon Best Sellers (zgbs) or /gp/bestsellers/ category page — returns rank (position on chart), asin, title, url, image, imageAlt, price, stars, reviewCount, ratingRaw per item, plus category metadata (categoryName, categoryFullName, categoryUrl) and pagination state (currentPage, hasNextPage, nextPageUrl). Works across all Amazon regional TLDs (amazon.com, amazon.co.uk, amazon.de, amazon.co.jp, amazon.fr, amazon.it, amazon.es, amazon.ca, amazon.com.au, amazon.in, etc.). Use when user mentions Amazon Best Sellers, Amazon best
repo: browser-act/skills
लोकप्रियता
- GitHub स्टार
- 6.3k
- रैंकिंग में स्थान
- #14252
- लाइसेंस
- MIT
- अपडेट की गई
- 24/8/2026
कमेंट
- …
इस repository की और skills
browser-act-skill-forge
6.3kआपके एजेंट को एक वेबसाइट एक बार देखकर स्क्रिप्ट के साथ दोबारा इस्तेमाल होने वाली स्किल सहेजने में मदद करती है, ताकि बाद में उस साइट से डेटा तेज़ी से मिले।
browser-act
6.3kआपके एजेंट को ब्राउज़र ऑटोमेशन टूल चलाने में मदद करती है, ताकि पेज खुलें, रेंडर हुई सामग्री पढ़ी जाए, फ़ॉर्म भरे जाएँ, स्क्रीनशॉट लिए जाएँ और लॉगिन सेशन सँभाले जाएँ।
1688-product-detail
6.3kआपके एजेंट को 1688.com थोक पेज से उत्पाद का विवरण निकालने में मदद करती है, जैसे कीमत के स्तर, वेरिएंट, विक्रेता के आँकड़े और विशेषताएँ।
airbnb-listing-detail
6.3kआपके एजेंट को उसकी ID से Airbnb लिस्टिंग का सार्वजनिक विवरण लाने में मदद करती है, जैसे तस्वीरें, सुविधाएँ, रेटिंग और घर के नियम।
मिलती-जुलती skills
tavily
394kयह आपके एजेंट को Tavily से वेब पर खोजने और खास वेब पेजों से टेक्स्ट निकालने देती है, गहराई, डोमेन और तारीख के विकल्पों के साथ।
blogwatcher
394kयह आपके एजेंट को ब्लॉग और RSS या Atom फ़ीड फ़ॉलो करने, उनमें नए लेख जांचने और जो लेख आपने पढ़ लिए हों उन्हें चिह्नित करने देती है।
data-scraper-agent
280kएजेंट को किसी भी public स्रोत से अपने-आप डेटा इकट्ठा करने में मदद करता है। इसे schedule किया जा सकता है, जानकारी को और बेहतर बनाया जा सकता है और नतीजे सेव किए जा सकते हैं। ऑनलाइन डेटा पर नज़र रखने के लिए उपयोगी है।