@arabold/docs-mcp-server 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist/{chunk-A5FW7XVC.js → chunk-VTO2ED43.js} +748 -245
- package/dist/chunk-VTO2ED43.js.map +1 -0
- package/dist/cli.js +44 -15
- package/dist/cli.js.map +1 -1
- package/dist/server.js +3 -7
- package/dist/server.js.map +1 -1
- package/package.json +5 -6
- package/dist/chunk-A5FW7XVC.js.map +0 -1
package/README.md
CHANGED
|
@@ -267,7 +267,8 @@ docs-cli fetch-url <url> [options]
|
|
|
267
267
|
|
|
268
268
|
**Options:**
|
|
269
269
|
|
|
270
|
-
- `--no-follow-redirects`: Disable following HTTP redirects (default: follow redirects)
|
|
270
|
+
- `--no-follow-redirects`: Disable following HTTP redirects (default: follow redirects).
|
|
271
|
+
- `--scrape-mode <mode>`: HTML processing strategy: 'fetch' (fast, less JS), 'playwright' (slow, full JS), 'auto' (default).
|
|
271
272
|
|
|
272
273
|
**Examples:**
|
|
273
274
|
|
|
@@ -292,6 +293,9 @@ docs-cli scrape <library> <url> [options]
|
|
|
292
293
|
- `-p, --max-pages <number>`: Maximum pages to scrape (default: 1000).
|
|
293
294
|
- `-d, --max-depth <number>`: Maximum navigation depth (default: 3).
|
|
294
295
|
- `-c, --max-concurrency <number>`: Maximum concurrent requests (default: 3).
|
|
296
|
+
- `--scope <scope>`: Defines the crawling boundary: 'subpages' (default), 'hostname', or 'domain'.
|
|
297
|
+
- `--no-follow-redirects`: Disable following HTTP redirects (default: follow redirects).
|
|
298
|
+
- `--scrape-mode <mode>`: HTML processing strategy: 'fetch' (fast, less JS), 'playwright' (slow, full JS), 'auto' (default).
|
|
295
299
|
- `--ignore-errors`: Ignore errors during scraping (default: true).
|
|
296
300
|
|
|
297
301
|
**Examples:**
|