You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: align CLI with scrapegraph-js v2 PR #13 (0738786)
- Replace SDK factory with raw function imports (scrape, extract, search, crawl, monitor, history, getCredits)
- Add monitor command (create, list, get, update, delete, pause, resume)
- Update crawl to use formats array and crawl.get instead of crawl.status
- Update history to use history.list/history.get with new pagination response
- Update search to pass query in params, remove nationality flag
- Update extract to pass url in params
- Make history service filter optional
- Update README with monitor docs and v2 migration notes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+71-24Lines changed: 71 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Made with love by the [ScrapeGraphAI team](https://scrapegraphai.com) 💜
5
5
6
6

7
7
8
-
Command-line interface for [ScrapeGraph AI](https://scrapegraphai.com) — AI-powered web scraping, data extraction, search, and crawling. Uses the **v2 API**.
8
+
Command-line interface for [ScrapeGraph AI](https://scrapegraphai.com) — AI-powered web scraping, data extraction, search, crawling, and monitoring. Uses the **v2 API**.
9
9
10
10
## Project Structure
11
11
@@ -14,7 +14,7 @@ just-scrape/
14
14
├── src/
15
15
│ ├── cli.ts # Entry point, citty main command + subcommands
All commands support `--json` for machine-readable output. When set, banner, spinners, and interactive prompts are suppressed — only minified JSON on stdout (saves tokens when piped to AI agents).
Crawl multiple pages. The CLI starts the crawl and polls until completion. [docs](https://docs.scrapegraphai.com/api-reference/crawl)
230
+
Crawl multiple pages. The CLI starts the crawl and polls until completion. Supports the same format options as scrape. [docs](https://docs.scrapegraphai.com/api-reference/crawl)
Create and manage page-change monitors. Monitors periodically scrape a URL and detect changes. [docs](https://docs.scrapegraphai.com/api-reference/monitor)
261
+
262
+
### Usage
263
+
264
+
```bash
265
+
just-scrape monitor create --url <url> --interval <interval># Create a monitor
266
+
just-scrape monitor create --url <url> --interval 1h --name "My Monitor"
Browse request history for any service. Interactive by default — arrow keys to navigate, select to view details, "Load more" for pagination.
301
+
Browse request history. Interactive by default — arrow keys to navigate, select to view details, "Load more" for pagination. Service filter is optional.
257
302
258
303
### Usage
259
304
260
305
```bash
261
-
just-scrape history<service># Interactive browser
262
-
just-scrape history<service><request-id># Fetch specific request
263
-
just-scrape history<service> --page <n># Start from page (default 1)
264
-
just-scrape history<service> --page-size <n># Results per page (default 20, max 100)
265
-
just-scrape history<service> --json # Raw JSON (pipeable)
306
+
just-scrape history# All history (interactive)
307
+
just-scrape history<service># Filter by service
308
+
just-scrape history<service><request-id># Fetch specific request by ID
309
+
just-scrape history --page <n># Start from page (default 1)
310
+
just-scrape history --page-size <n># Results per page (default 20, max 100)
0 commit comments