@@ -47,7 +47,6 @@ API key resolution order: `SGAI_API_KEY` env var → `.env` file → `~/.scrapeg
4747All commands support ` --json ` for machine-readable output (suppresses banner, spinners, prompts).
4848
4949Scraping commands share these optional flags:
50- - ` --render-js ` — render JavaScript (+1 credit)
5150- ` --stealth ` — bypass anti-bot detection (+4 credits)
5251- ` --headers <json> ` — custom HTTP headers as JSON string
5352- ` --schema <json> ` — enforce output JSON schema
@@ -63,7 +62,6 @@ just-scrape smart-scraper <url> -p <prompt>
6362just-scrape smart-scraper < url> -p < prompt> --schema < json>
6463just-scrape smart-scraper < url> -p < prompt> --scrolls < n> # infinite scroll (0-100)
6564just-scrape smart-scraper < url> -p < prompt> --pages < n> # multi-page (1-100)
66- just-scrape smart-scraper < url> -p < prompt> --render-js # JS rendering (+1 credit)
6765just-scrape smart-scraper < url> -p < prompt> --stealth # anti-bot (+4 credits)
6866just-scrape smart-scraper < url> -p < prompt> --cookies < json> --headers < json>
6967just-scrape smart-scraper < url> -p < prompt> --plain-text
@@ -80,7 +78,7 @@ just-scrape smart-scraper https://news.example.com -p "Get headlines and dates"
8078
8179# JS-heavy SPA behind anti-bot
8280just-scrape smart-scraper https://app.example.com/dashboard -p " Extract user stats" \
83- --render-js -- stealth
81+ --stealth
8482```
8583
8684### Search Scraper
@@ -113,14 +111,13 @@ Convert any webpage to clean markdown.
113111
114112``` bash
115113just-scrape markdownify < url>
116- just-scrape markdownify < url> --render-js # +1 credit
117114just-scrape markdownify < url> --stealth # +4 credits
118115just-scrape markdownify < url> --headers < json>
119116```
120117
121118``` bash
122119just-scrape markdownify https://blog.example.com/my-article
123- just-scrape markdownify https://protected.example.com --render-js -- stealth
120+ just-scrape markdownify https://protected.example.com --stealth
124121just-scrape markdownify https://docs.example.com/api --json | jq -r ' .result' > api-docs.md
125122```
126123
@@ -136,7 +133,7 @@ just-scrape crawl <url> --no-extraction --max-pages <n> # markdown only (2 cre
136133just-scrape crawl < url> -p < prompt> --schema < json>
137134just-scrape crawl < url> -p < prompt> --rules < json> # include_paths, same_domain
138135just-scrape crawl < url> -p < prompt> --no-sitemap
139- just-scrape crawl < url> -p < prompt> --render-js -- stealth
136+ just-scrape crawl < url> -p < prompt> --stealth
140137```
141138
142139``` bash
@@ -157,7 +154,6 @@ Get raw HTML content from a URL.
157154
158155``` bash
159156just-scrape scrape < url>
160- just-scrape scrape < url> --render-js # +1 credit
161157just-scrape scrape < url> --stealth # +4 credits
162158just-scrape scrape < url> --branding # extract logos/colors/fonts (+2 credits)
163159just-scrape scrape < url> --country-code < iso>
269265
270266``` bash
271267# JS-heavy SPA behind Cloudflare
272- just-scrape smart-scraper https://protected.example.com -p " Extract data" --render-js -- stealth
268+ just-scrape smart-scraper https://protected.example.com -p " Extract data" --stealth
273269
274270# With custom cookies/headers
275271just-scrape smart-scraper https://example.com -p " Extract data" \
@@ -280,7 +276,6 @@ just-scrape smart-scraper https://example.com -p "Extract data" \
280276
281277| Feature | Extra Credits |
282278| ---| ---|
283- | ` --render-js ` | +1 per page |
284279| ` --stealth ` | +4 per request |
285280| ` --branding ` (scrape only) | +2 |
286281| ` search-scraper ` extraction | 10 per request |
0 commit comments