返回市场
T
taobao
v5.0.0MITby dyyz1993
淘宝 - 商品搜索、详情、店铺、评价与优惠券采集(需登录态)
0 次下载 0.0 (0 条评价) 更新于 1/1/1970
Free
xbrowser plugin install xbrowser-plugin-taobao
命令
login
login登录淘宝(扫码 / 账号密码),支持登录态检测与状态保存
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| method | enum | No | 登录方式:qrcode=扫码, password=账号密码 (qrcode) |
xbrowser taobao login --help
search
search搜索淘宝商品(DOM + 网络拦截双模式)
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| query | string | Yes | 搜索关键词 |
| limit | number | No | (20) |
| sort | enum | No | (default) |
| useApi | boolean | No | 启用网络拦截获取结构化数据 (true) |
xbrowser taobao search --help
search-advanced
search-advanced淘宝高级搜索(支持价格区间、发货地等筛选)
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| keyword | string | Yes | 搜索关键词 |
| sort | enum | No | (default) |
| priceMin | number | No | 最低价格 |
| priceMax | number | No | 最高价格 |
| location | string | No | 发货地筛选 |
| limit | number | No | (20) |
| useApi | boolean | No | (true) |
xbrowser taobao search-advanced --help
detail
detail获取淘宝商品详情(支持 URL 或商品 ID)
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| url | string | No | 商品 URL |
| itemId | string | No | 商品 ID(与 url 二选一) |
xbrowser taobao detail --help
item-detail
item-detail获取商品完整详情(包含 SKU、评价统计、优惠信息)
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| itemId | string | Yes | 商品 ID |
xbrowser taobao item-detail --help
reviews
reviews获取淘宝商品评价(支持类型筛选、追评、媒体筛选)
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| url | string | No | 商品 URL |
| itemId | string | No | 商品 ID(与 url 二选一) |
| limit | number | No | 获取评价数量 (20) |
| type | enum | No | 评价类型: all=全部, good=好评, mid=中评, bad=差评, media=有图/视频, append=追评 (all) |
| sort | enum | No | 排序: default=推荐, time=按时间 (default) |
xbrowser taobao reviews --help
shop
shop获取淘宝店铺信息(支持店铺 URL 或 ID)
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| shopUrl | string | No | 店铺 URL |
| shopId | string | No | 店铺 ID |
xbrowser taobao shop --help
seller-items
seller-items获取店铺商品列表
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| shopId | string | Yes | 店铺 ID |
| category | string | No | 分类名称 |
| sort | enum | No | (default) |
| limit | number | No | (20) |
xbrowser taobao seller-items --help
coupons
coupons获取商品优惠券信息
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| itemId | string | Yes | 商品 ID |
xbrowser taobao coupons --help
update-profile
update-profile更新淘宝店铺信息(卖家功能)
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| shopName | string | No | 店铺名称 |
| description | string | No | 店铺描述 |
| bulletin | string | No | 店铺公告 |
xbrowser taobao update-profile --help