mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
505c86bae9
Add documentation for jd (item) and web (read) adapters to fix doc-coverage CI check (55/57 → 57/57).
31 lines
661 B
Markdown
31 lines
661 B
Markdown
# Web
|
|
|
|
**Mode**: 🔐 Browser · **Domain**: any URL
|
|
|
|
## Commands
|
|
|
|
| Command | Description |
|
|
|---------|-------------|
|
|
| `opencli web read <url>` | Fetch any web page and export as Markdown |
|
|
|
|
## Usage Examples
|
|
|
|
```bash
|
|
# Read a web page and save as Markdown
|
|
opencli web read https://example.com/article
|
|
|
|
# Custom output directory
|
|
opencli web read https://example.com/article --output ./my-articles
|
|
|
|
# Skip image download
|
|
opencli web read https://example.com/article --download-images false
|
|
|
|
# JSON output
|
|
opencli web read https://example.com/article -f json
|
|
```
|
|
|
|
## Prerequisites
|
|
|
|
- Chrome running
|
|
- [Browser Bridge extension](/guide/browser-bridge) installed
|