Skip to main content
Not Python? API Reference Create an AI Web Scraper that works on any website in one line of code.
import webtranpose as webt

schema = {
  "Merchant Name": "string",
  "Title of Product": "string",
  "Product Photo URL": "string",
}

scraper = webt.Scraper(
  schema, 
  render_js=True, 
  api_key="YOUR_WEBTRANSPOSE_API_KEY", # optional, if you want to run on cloud
)

Scraper Parameters

schema
dict
required
scraper_id
str
name
str
render_js
bool
default:false
verbose
bool
default:false
api_key
str

Get your AI Web Scraper

When you create a Web Scraper, a scraper ID is generated.
scraper.scraper_id
You can use this scraper ID to get your AI Web Scraper.
scraper = webt.get_scraper(scraper_id)