‹ 首页

etsy-product-detail

@browser-act · 收录于 1 周前 · 上游提交 1 周前

Etsy product detail scraper: given an Etsy listing URL, returns full product detail including listingId, title, priceCurrent, priceOriginal, currency, images (all), description, shopName, shopUrl, rating, reviewCount, favorites, inCartCount, variations (with per-option price ranges), highlights, listedDate, relatedTags. Use when user mentions Etsy product, Etsy listing detail, Etsy item info, Etsy product page, scrape Etsy listing, extract Etsy product data, Etsy price and variations, Etsy product images, Etsy product description, Etsy shop from listing, Etsy favorites count, Etsy sale count, Etsy variations extraction, Etsy listing metadata, single Etsy product scrape, bulk enrich Etsy listing URLs, Etsy product details export. Also applies to competitor product monitoring, price and variation tracking on a specific listing, favorites/wishlist popularity tracking, description mining for SEO analysis, and any per-listing enrichment task.

适合你,如果需要批量获取 Etsy 商品数据用于分析或运营。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add browser-act/skills/etsy-product-detail
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- browser-act/skills/etsy-product-detail
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify browser-act/skills/etsy-product-detail
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
4615GitHub stars
~1.8K最小装载
~3.2K含声明引用
~3.2K文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 060f5be · 表述以原文为准
它做什么

装上后,Claude 能根据你给的 Etsy 商品链接,提取并返回该商品的完整详情,包括标题、价格、图片、描述、店铺信息、评分、收藏数、变体选项等。

什么时候触发

当你提到 Etsy 商品、商品详情、商品信息、商品页面,或要求抓取 Etsy 商品数据、提取价格和变体、获取商品图片和描述时触发。也适用于竞品监控、价格追踪、收藏热度分析等任务。

装好后可以这样说
Claude 会返回价格和变体组及每个选项的价格范围。
Claude 会返回图片列表和描述文本。
技能原文 SKILL.md作者撰写 · MIT · 060f5be

Etsy — Product Detail

Input an Etsy listing URL → output full product detail including price, variations, images, shop, rating, favorites, and description.
Language

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

Objective

Extract complete detail data from a single Etsy listing page.

Prerequisites
  • Target page is already open in the browser: https://www.etsy.com/listing/{listing-id}/{slug} (or navigate to it during execution)
  • No login required — listing pages are public
  • Browser session must survive anti-bot verification (DataDome). Best practice: navigate to https://www.etsy.com/ first, then to the listing URL
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.

2. Anti-bot Warm-up

If a fresh browser session was just created:

  1. navigate https://www.etsy.com/wait stable
  2. Then navigate {listing URL}wait stable

On blocked by anti-bot verification page errors, switch to a stealth browser with a different fingerprint / proxy and 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 eval "$(python scripts/xxx.py {params})". $(...) is bash syntax; it is recommended to use the bash tool for execution.
DOM: extract product detail from listing page

Prerequisite: current page is an Etsy listing page (https://www.etsy.com/listing/{listing-id}/...) after wait stable.

Extract (description included): eval "$(python scripts/extract-detail.py)"

Extract (skip description text to reduce output size): eval "$(python scripts/extract-detail.py --include-description false)"

Parameters:

  • --include-description: true (default) to include full description text; false to omit and return description: null

Output example:

{
  "error": false,
  "url": "https://www.etsy.com/listing/870439619/personalized-handmade-leather-mens",  // canonical URL
  "listingId": "870439619",                // Etsy listing id
  "title": "Handmade Personalized Men's Full Grain Leather Wallet…",  // full product title
  "priceCurrent": "Price:$23.26+",         // current display price (raw text as shown; may include '+' for variation min)
  "priceOriginal": null,                   // original / crossed-out price, null when no discount
  "currency": "$",                         // currency symbol, null if not detected
  "imageCount": 50,                        // total unique image URLs discovered on the page (includes user-uploaded review photos)
  "images": [                              // ordered list of image URLs (main product images first, then review photos)
    "https://i.etsystatic.com/22700950/r/il/…/il_fullxfull.….jpg"
  ],
  "description": "** Handwriting Engraved Leather Wallet for Men … **",  // full description text; null when --include-description=false
  "shopName": "CaglarCreations",           // shop / seller display name
  "shopUrl": "https://www.etsy.com/shop/CaglarCreations",  // shop URL, tracking params stripped
  "rating": 4.9,                           // average star rating (numeric)
  "reviewCount": "7.8k",                   // review count as displayed by Etsy (may include k/M suffix)
  "favorites": 27013,                      // favorites count (integer), null when not present
  "inCartCount": null,                     // count of active shoppers with item in cart, null when not present
  "variations": [                          // ordered variation groups (e.g. color, size, engraving)
    {
      "label": "Engraving Options",        // variation group label
      "options": [
        {
          "value": "4124115439",           // Etsy option id
          "text": "NO PERSONALIZATION",    // option display name
          "priceRange": "$23.26 - $38.76"  // per-option price range if shown, null otherwise
        }
      ]
    }
  ],
  "highlights": [],                        // seller-declared highlight bullets (materials, dimensions, etc.); empty when not shown
  "listedDate": "Jul 8, 2026",             // date extracted from 'Listed on ...' text; null when not present
  "relatedTags": [                         // links to related Etsy search / market pages surfaced on the listing
    {"text": "Personalized Wedding Scroll for Sale", "url": "https://www.etsy.com/market/personalized_wedding_scroll"}
  ]
}

Error handling:

  • {"error": true, "message": "blocked by anti-bot verification page"} — DataDome interstitial; retry warm-up
  • {"error": true, "message": "not a listing page"} — URL does not match /listing/{id}/...; check input URL
  • Individual fields being null (e.g. inCartCount, listedDate) is normal — those elements are not always rendered
Success Criteria

result.error === false && result.listingId && result.title && result.imageCount >= 1 && (result.priceCurrent !== null)

Known Limitations
  • DataDome anti-bot: fresh sessions may hit a CAPTCHA interstitial; warm up via / first
  • reviewCount returned as displayed text (e.g. 7.8k) rather than an exact integer, matching what Etsy shows on the page
  • Variations that require dynamic selection to reveal a final price (e.g. color + size combined) return their per-option price range as displayed — combined price for a specific selection is not fetched
  • inCartCount is only shown for listings that exceed Etsy's threshold ("N people have this in their cart"); most listings return null
  • highlights appear on some categories only; when absent the field returns []
  • relatedTags may include tangentially-related Etsy market links that were surfaced in the page's link soup; treat as informational, not curated related-search
  • description may include Unicode formatting characters and inline URLs; consumer code should sanitize if needed
  • Multi-image listings return both product photos and user-uploaded review photos in the same list; the first ~20 URLs matching pattern /il/…/il_fullxfull. are the seller's own images
Execution Efficiency
  • Batch orchestration: Loop through listing URLs serially within a single session; insert 3-8 second sleeps between page navigations. Distribute URL batches across multiple stealth browser sessions for higher throughput
  • Test before batch execution: Verify on 1-2 listings first before running the full batch
  • Reduce redundant pre-operations: Warm-up once per session, then process listings sequentially in the same session
  • Skip description when unused: pass --include-description false to shrink per-record output when descriptions are not needed downstream
  • Error resumption: Save each listing's result to results/{listingId}.json immediately; on failure resume from the missing listing
Experience Notes

Path: {working-directory}/browser-act-skill-forge-memories/etsy-scraper-etsy-product-detail.memory.md (working directory is determined by the Agent running the Skill, typically the project root or current working directory)

Before execution: If the file exists, read it first — it records unexpected situations encountered during past executions (e.g., a strategy has become ineffective); adjust strategy order accordingly.

After execution: If an unexpected situation is encountered (strategy became ineffective, page redesigned, anti-scraping upgraded, better path discovered), append a line: {YYYY-MM-DD}: {what happened} → {conclusion}

Normal execution does not write to the file. Do not record what listings were used or how many results were returned — those are task outputs, not experience.

按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。