Skip to main content

Prerequisites

The following examples require the scrapegraph-py library.
Optionally, if your ScrapeGraph configuration or specific models require an API key, set the SGAI_API_KEY environment variable:

Example

The following agent uses ScrapeGraphTools to extract specific information from a webpage using the smartscraper functionality.

Toolkit Functions

Toolkit Parameters

These parameters are passed to the ScrapeGraphTools constructor.

Developer Resources