Turn any public web page into clean, LLM-ready Markdown (or raw HTML) with a single call. Handles JavaScript-heavy pages, residential/mobile proxies, and country-level geo-targeting to get past common anti-bot protection.
Bring your own Scrape.do API token (free tier available at scrape.do/register — 1,000 credits). Billing and rate limits stay on your own account.
| Input | Type | Default | Description |
|---|---|---|---|
url |
string | — | Public web page URL to fetch |
api_token |
secret | — | Your Scrape.do API token |
output_format |
enum | markdown |
markdown (clean, LLM-friendly) or raw (HTML) |
render_js |
bool | false |
Render JavaScript for dynamic sites |
super_proxy |
bool | false |
Use residential & mobile proxies |
geo_code |
string | "" |
Proxy country code, e.g. us, uk, de |
The extracted page content as a string (Markdown or HTML).
You need: a Replicate account, Cog installed, and Docker running locally.
-
Install Cog
sudo curl -o /usr/local/bin/cog -L \ "https://github.com/replicate/cog/releases/latest/download/cog_$(uname -s)_$(uname -m)" sudo chmod +x /usr/local/bin/cog -
Authenticate (opens browser to grab your Replicate token):
cog login
-
Create the model on replicate.com → Create model:
- Owner:
scrapedo - Name:
web-page-scraper - Visibility: Public (required for the page to be indexable)
- Hardware: CPU
- Owner:
-
Test locally (optional, needs Docker):
cog predict \ -i url="https://example.com" \ -i api_token="YOUR_SCRAPEDO_TOKEN" \ -i output_format="markdown"
-
Push from inside this folder:
cog push r8.im/scrapedo/web-page-scraper
Your public model page will then live at
https://replicate.com/scrapedo/web-page-scraper.
Tip for discoverability: fill in the model's description and example inputs on the Replicate page — that text is what gets indexed and what visitors read.