mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
ed89157804
* feat(jd): add item adapter for JD.com product details Support fetching: - Product title, price, shop - Product specifications (品牌, 型号, 规格参数 etc.) - Main product images - Detail images from product page Usage: opencli jd item <sku> * fix(jd): update test to expect avifImages column * review: tighten jd item image contract * fix: stabilize extension packaging and Chinese-site e2e --------- Co-authored-by: jackwener <jakevingoo@gmail.com>
28 lines
551 B
Markdown
28 lines
551 B
Markdown
# JD.com
|
|
|
|
**Mode**: 🔐 Browser · **Domain**: `item.jd.com`
|
|
|
|
## Commands
|
|
|
|
| Command | Description |
|
|
|---------|-------------|
|
|
| `opencli jd item <sku>` | Fetch product details (price, shop, specs, AVIF images) |
|
|
|
|
## Usage Examples
|
|
|
|
```bash
|
|
# Get product details by SKU
|
|
opencli jd item 100291143898
|
|
|
|
# Limit returned AVIF images
|
|
opencli jd item 100291143898 --images 5
|
|
|
|
# JSON output
|
|
opencli jd item 100291143898 -f json
|
|
```
|
|
|
|
## Prerequisites
|
|
|
|
- Chrome running and **logged into** jd.com
|
|
- [Browser Bridge extension](/guide/browser-bridge) installed
|