Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.scrapegraphai.com/llms.txt

Use this file to discover all available pages before exploring further.

You are viewing the v1 (legacy) documentation. AgenticScraper has been removed in v2. Use extract() with FetchConfig for advanced scraping, or crawl.start() for multi-page extraction. See the v2 documentation.

Overview

AgenticScraper uses an AI agent to perform multi-step scraping operations, navigating through pages and interacting with elements as needed.

Usage

from scrapegraph_py import Client

client = Client(api_key="your-api-key")

response = client.agenticscraper(
    website_url="https://example.com",
    user_prompt="Navigate to the pricing page and extract all plan details"
)