1688-product-detail
它能做什么
它介绍如何读取 1688.com 商品页面上公开显示的详细信息,并将其整理为结构化数据。适用于从中国采购批发商品的人员。
适用场景
- ✓当采购者想了解 1688 批发商品的价格阶梯和规格变体时。
- ✓当采购团队想从商品页面获取卖家和店铺评分详情时。
- ✓当有人想从 1688 商品信息中整理出一份清晰的商品属性列表时。
技能链接
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/1688-product-detail/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请从这个 1688 商品页面提取价格阶梯、规格变体和卖家详情。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能在浏览器中打开商品页面,读取其中已显示的数据,并从页面的网络活动中获取供应商指标。结果会被整理成字段。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
1688.com — Product Detail Extraction
Navigate to a 1688 product page → extract 50+ fields including pricing tiers, SKU variants, seller stats, attributes, promotions
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Extract complete wholesale product data from a 1688.com offer detail page using embedded page data and network capture for supplier metrics.
Prerequisites
- Target product detail page is open in the browser:
https://detail.1688.com/offer/{offer_id}.html - No login required for product detail pages (data is publicly accessible)
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. 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.
DOM: Extract core product data (title, pricing, images, seller, flags)
After navigating to the product page and waiting for page load:
eval "$(python scripts/extract-product-detail.py '{offer_id}')"
Parameters:
- offer_id: Numeric 1688 offer/product ID (e.g.,
927875250705)
Output example:
{
"offerId": "927875250705",
"title": "新款苹果18promax手机壳磁吸...",
"unit": "个",
"category": { "topCategoryId": 7, "postCategoryId": 132918005 },
"pricing": {
"tiers": [
{ "minQty": "30", "price": "7.99" },
{ "minQty": "100", "price": "7.79" }
],
"priceDisplayType": "range",
"minOrderQty": 30,
"currency": "CNY"
},
"sales": {
"totalSold": 308417,
"displaySaleNum": "10万+",
"saleCountLabel": "全网销量"
},
"images": ["https://cbu01.alicdn.com/img/ibank/...jpg"],
"attributes": {
"材质": "优质TPU",
"款式": "后盖款",
"功能": "防震,磁吸,防磨,防摔",
"适用型号": "iPhone17,iphone17pro..."
},
"skuCount": 339,
"skuWeightData": [
{ "weight": 40, "length": 17, "width": 7, "height": 1, "volume": 119 }
],
"seller": {
"companyName": "佛山市南海区三丰手机配件有限公司",
"loginId": "fssf06",
"memberId": "b2b-2850655109d72ea",
"userId": 2850655109,
"shopUrl": "https://shop1460393846166.1688.com",
"cardType": "cjgc",
"isPmPlus": true,
"serviceScore": "4.5分",
"buyerRepeatRate": "65.82%"
},
"offerFlags": {
"isSkuOffer": true,
"isPreSell": false,
"isConsignMarketOffer": true,
"isDistribution": true,
"isChtOffer": true,
"isBuyerProtection": true
},
"crossBorder": {
"foreignLanguagePackageAvailable": true,
"boxMarkAvailable": true,
"fbaLabelAvailable": true
},
"guarantees": ["买家保障", "正品保障"],
"descriptionUrl": "https://detail.1688.com/...",
"offerMemberTags": [4336705, 519170],
"sellerWinportUrlMap": {}
}
DOM: Extract SKU variants (color/model combinations with weight/dimensions)
eval "$(python scripts/extract-sku-details.py '{offer_id}')"
Parameters:
- offer_id: Numeric 1688 offer/product ID
Output example:
{
"offerId": "927875250705",
"skuCount": 339,
"skuRangePrices": [
{ "price": "7.99", "beginAmount": "30" },
{ "price": "7.79", "beginAmount": "100" }
],
"skus": [
{
"skuId": 5833485852524,
"specId": "...",
"attrs": { "颜色": "黑色", "适用型号": "iPhone17" },
"saleCount": 0,
"canBookCount": 9999,
"isPromotionSku": false,
"packInfo": { "weight": 40, "length": 17, "width": 7, "height": 1, "volume": 119 }
}
],
"skuImageMap": {}
}
DOM: Extract coupon and promotion data
eval "$(python scripts/extract-promotions.py '{offer_id}')"
Parameters:
- offer_id: Numeric 1688 offer/product ID
Output example:
{
"offerId": "927875250705",
"coupons": [
{ "couponType": "INTERACT", "couponContent": "满100减5券" }
],
"promotionModel": {
"buttonName": "领券",
"promotionList": [
{
"type": "INTERACT",
"name": "互动优惠券",
"summary": "入会有礼券",
"promotionItems": [
{
"label": "满100减5券",
"availablePeriod": "有效期:2026.05.28 00:00:00
常见问题
它需要登录吗?
不需要。该技能说明,商品详情页无需登录即可公开访问。
它会绕过任何访问控制吗?
不会。它只读取页面上已经显示的数据。
它返回多少个字段?
该技能说明可提取五十多个字段,包括价格、规格变体、卖家信息和促销信息。
详情
作者的原始描述
Extracts comprehensive wholesale product data from 1688.com product detail pages: title, tiered pricing, SKU variants with dimensions/weight, product images, seller info, shop scores, buyer protection, cross-border flags, product attributes, coupon/promotion data, and review stats. Use when user mentions 1688, 1688.com, wholesale China, alibaba wholesale, B2B China sourcing, Chinese wholesale scraper, 1688 product scrape, 1688 offer, 1688 detail, extract 1688 data, pull 1688 listings, get wholesale price, 1688 supplier info, factory stats 1688, 1688 SKU variants, 1688 product attributes, 1688
repo: browser-act/skills
热度
- GitHub 星标
- 6.3k
- 排名
- #14246
- 许可证
- MIT
- 更新时间
- 2026/8/24
评论
- …
同一仓库的更多技能
browser-act-skill-forge
6.3k帮你的智能体探索一次网站,并保存一个带脚本的可复用技能,使之后从该网站提取数据更快。
browser-act
6.3k帮你的智能体运行浏览器自动化工具,打开页面、读取渲染后的内容、填写表单、截图,并管理已登录的会话。
airbnb-listing-detail
6.3k帮你的智能体根据 ID 获取 Airbnb 房源的公开详情,例如照片、设施、评分和房屋规则。
airbnb-search-listing
6.3k帮你的智能体收集某个目的地的 Airbnb 搜索结果,包括房源名称、位置、评分、价格和照片。