ebay-search-listing
它能做什么
它读取 eBay 搜索或类目页面上的商品卡片,并返回价格、卖家、运费和分页信息。适用于查看 eBay 结果的购物者和分析人员。
适用场景
- ✓当购物者想按价格和卖家评分比较 eBay 搜索结果时。
- ✓当分析人员需要 eBay 某个地区站点的类目列表时。
- ✓当有人想读取 eBay 搜索结果的下一页时。
技能链接
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/ebay-search-listing/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请列出 eBay 上古董相机的搜索结果,包括价格、卖家和运费。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能打开搜索或类目页面,读取每个商品卡片和分页状态,并返回商品,以便调用方移动到下一页。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
eBay — Search & Category Listing Extraction
Input: any eBay search or category page URL → Output: paginated array of item cards (itemNumber, url, title, price, seller, image, etc.) plus pagination state (currentPage, nextPageUrl, hasNextPage, totalResultsApprox).
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Given any eBay search results URL (SRP) or category URL, extract the visible product cards on the current page with their key surface fields, and expose pagination state so a caller can loop pages until an item cap or the last page is reached.
Prerequisites
- Target page is already open in the browser:
https://www.ebay.{tld}/sch/i.html?_nkw={keyword}(search) orhttps://www.ebay.{tld}/b/{category-slug}/{category-id}/bn_...(category), where{tld}is any eBay regional TLD (com,co.uk,de,fr,it,es,com.au,ca,co.jp,com.hk,in,ph,pl,nl,ie,at,be). - No login is required for public listings. Extraction runs against whatever the anonymous browser session sees.
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 viaeval "$(python scripts/xxx.py {params})".$(...)is bash syntax; it is recommended to use the bash tool for execution.
Below are all atomic capabilities discovered and verified during the exploration phase. Simply invoke them as needed — no need to read scripts/*.py source code or re-verify. Only inspect scripts when execution fails for troubleshooting.
DOM: extract item cards from the current search or category page
Precondition: navigate {search or category URL} → wait stable first.
Extract: eval "$(python scripts/extract-listing.py --max-items 0)"
Parameters:
--max-items: Cap on cards returned from the current page.0(default) returns every card on the page. Use a positive integer when the caller only wants the top-N of the current page (does not affect pagination state).
Output example:
{
"currentUrl": "https://www.ebay.com/sch/i.html?_nkw=headphones&LH_BIN=1", // page URL as observed
"hostname": "www.ebay.com", // regional domain of the current page
"currentPage": 1, // 1 when the URL has no _pgn param
"nextPageUrl": "https://www.ebay.com/sch/i.html?_nkw=headphones&LH_BIN=1&_pgn=2", // null when on last page
"hasNextPage": true, // false = last page reached
"totalResultsApprox": 250000, // parsed from the results-count heading; null if not shown
"totalResultsRaw": "250,000+ results for headphones", // original heading text
"itemsOnPage": 60, // eBay default is 60 per page; can be overridden by _ipg URL param
"returnedCount": 3, // number of items in the "items" array below (respects --max-items)
"items": [
{
"itemNumber": "195486024424", // eBay listing id (also from data-listingid on the card)
"url": "https://www.ebay.com/itm/195486024424", // canonical item URL, query params stripped
"title": "Plugfones Guardian OSHA Certified earplug with audio Work Headphones earbuds",
"subtitle": "Brand New", // condition / seller-type badge; null when absent
"caption": null, // e.g. "New Listing", "Sold Jul 7, 2026"; null when absent
"price": 24.99, // parsed numeric price
"priceWithCurrency": "$24.99", // original price string
"currency": "USD", // ISO code detected from price prefix
"wasPrice": null, // original / strikethrough price if shown
"wasPriceWithCurrency": null,
"bids":
常见问题
哪些 eBay 站点可用?
该技能说明,它适用于 eBay 的各地区站点,例如美国、英国和德国。
它需要登录吗?
不需要。公开商品无需登录即可读取。
分页如何工作?
它会返回当前页、下一页的地址以及是否还有下一页。
详情
作者的原始描述
Extracts product listings from any eBay search or category page URL, returning per-item cards (itemNumber, url, title, subtitle, caption, price, priceWithCurrency, currency, wasPrice, bids, shipping, seller, sellerFeedbackCount, sellerPositiveRating, reviewsCount, starRating, image) plus pagination state (currentPage, nextPageUrl, hasNextPage, totalResultsApprox). Works across all eBay regional TLDs. Use when user mentions eBay, ebay.com, eBay scraper, eBay search results, eBay category page, eBay SRP, eBay product list, eBay item cards, scrape eBay listings, extract eBay items, eBay bulk prod
repo: browser-act/skills
热度
- GitHub 星标
- 6.3k
- 排名
- #14262
- 许可证
- MIT
- 更新时间
- 2026/8/24
评论
- …
同一仓库的更多技能
browser-act-skill-forge
6.3k帮你的智能体探索一次网站,并保存一个带脚本的可复用技能,使之后从该网站提取数据更快。
browser-act
6.3k帮你的智能体运行浏览器自动化工具,打开页面、读取渲染后的内容、填写表单、截图,并管理已登录的会话。
1688-product-detail
6.3k帮你的智能体从 1688.com 批发页面提取商品详情,例如价格阶梯、规格变体、卖家统计数据和属性。
airbnb-listing-detail
6.3k帮你的智能体根据 ID 获取 Airbnb 房源的公开详情,例如照片、设施、评分和房屋规则。