Skip to content

Commit 505c86b

Browse files
authored
docs: add missing adapter docs for jd and web (#349)
Add documentation for jd (item) and web (read) adapters to fix doc-coverage CI check (55/57 → 57/57).
1 parent b8b4fa0 commit 505c86b

2 files changed

Lines changed: 57 additions & 0 deletions

File tree

docs/adapters/browser/jd.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# JD.com
2+
3+
**Mode**: 🔐 Browser · **Domain**: `item.jd.com`
4+
5+
## Commands
6+
7+
| Command | Description |
8+
|---------|-------------|
9+
| `opencli jd item <sku>` | Fetch product details (price, images, specs) |
10+
11+
## Usage Examples
12+
13+
```bash
14+
# Get product details by SKU
15+
opencli jd item 100291143898
16+
17+
# Limit detail images
18+
opencli jd item 100291143898 --images 5
19+
20+
# JSON output
21+
opencli jd item 100291143898 -f json
22+
```
23+
24+
## Prerequisites
25+
26+
- Chrome running and **logged into** jd.com
27+
- [Browser Bridge extension](/guide/browser-bridge) installed

docs/adapters/browser/web.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Web
2+
3+
**Mode**: 🔐 Browser · **Domain**: any URL
4+
5+
## Commands
6+
7+
| Command | Description |
8+
|---------|-------------|
9+
| `opencli web read <url>` | Fetch any web page and export as Markdown |
10+
11+
## Usage Examples
12+
13+
```bash
14+
# Read a web page and save as Markdown
15+
opencli web read https://example.com/article
16+
17+
# Custom output directory
18+
opencli web read https://example.com/article --output ./my-articles
19+
20+
# Skip image download
21+
opencli web read https://example.com/article --download-images false
22+
23+
# JSON output
24+
opencli web read https://example.com/article -f json
25+
```
26+
27+
## Prerequisites
28+
29+
- Chrome running
30+
- [Browser Bridge extension](/guide/browser-bridge) installed

0 commit comments

Comments
 (0)