Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Web Page Scraper — extract any web page as Markdown

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.

Inputs

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

Output

The extracted page content as a string (Markdown or HTML).


How to publish this to Replicate

You need: a Replicate account, Cog installed, and Docker running locally.

  1. 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
  2. Authenticate (opens browser to grab your Replicate token):

    cog login
  3. 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
  4. Test locally (optional, needs Docker):

    cog predict \
      -i url="https://example.com" \
      -i api_token="YOUR_SCRAPEDO_TOKEN" \
      -i output_format="markdown"
  5. 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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages