- smartscraper: Extract structured data using natural language prompts
- markdownify: Convert web pages to markdown format
- searchscraper: Search the web and extract information
- crawl: Crawl websites with structured data extraction
- scrape: Get raw HTML content from websites
- Complete HTML source code
- Raw content for further processing
- HTML structure analysis
- Content that needs to be parsed differently
Prerequisites
The following examples require thescrapegraph-py and openai libraries.
SGAI_API_KEY environment variable:
Example
The following agent will extract structured data from a website using the smartscraper tool:Raw HTML Scraping
Get complete HTML content from websites for custom processing:All Functions with JavaScript Rendering
Enable all ScrapeGraph functions with heavy JavaScript support:See the Startup Analyst example