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
The URL of the website to scrape. (Optional)
The HTML content of the website to scrape. (Optional)
The timeout duration in seconds for the scraping request. (Optional)