Run your scraper on a website in just **one line of code.

out_json = scraper.scrape("https://www.example.com")

You can also upload HTML.

out_json = scraper.scrape(
  url="https://website-of-html.com", # optional, if you want logging
  html="<html><body><h1>Example</h1></body></html>"
)

Scraper.scrape Parameters

url
str

The URL of the website to scrape. (Optional)

html
str

The HTML content of the website to scrape. (Optional)

timeout
int
default: 30

The timeout duration in seconds for the scraping request. (Optional)