Skip to content

docs(agno): align integration guide with scrapegraph-py 2.0.0#42

Open
VinciGit00 wants to merge 1 commit intomainfrom
docs/agno-scrapegraph-v2
Open

docs(agno): align integration guide with scrapegraph-py 2.0.0#42
VinciGit00 wants to merge 1 commit intomainfrom
docs/agno-scrapegraph-v2

Conversation

@VinciGit00
Copy link
Copy Markdown
Member

Summary

Updates the Agno integration page to match the toolkit shipped in agno-agi/agno PR #7584 (requires scrapegraph-py>=2.0.0). The previous docs still referenced the pre-v2 constructor signature (smartscraper=True, markdownify=True, …), which no longer compiles against the current ScrapeGraphTools.

What changed

  • Constructor flags renamed to match the actual API: enable_smartscraper, enable_markdownify, enable_crawl, enable_searchscraper, enable_scrape.
  • Install instruction now pins scrapegraph-py>=2.0.0 and adds an SGAI_API_KEY export snippet.
  • New scrape example — raw HTML fetch, which the v2 toolkit exposes.
  • Configuration table rewritten: every parameter the constructor actually accepts, including api_key, render_heavy_js, and all.
  • Combining tools / heavy-JS snippets updated to use enable_* names and render_heavy_js=True.
  • Agentic crawler references removed (the endpoint was removed in the v2 SDK).

Why

Running the current Quick Start from the docs today raises TypeError: ScrapeGraphTools.__init__() got an unexpected keyword argument 'smartscraper'. This PR brings the guide back in sync with what pip install agno "scrapegraph-py>=2.0.0" actually gives you.

Type of change

  • Documentation update

Checklist

  • Examples match the public method signatures in agno.tools.scrapegraph.ScrapeGraphTools
  • Install command and env var reflect the v2 SDK requirement
  • Self-review completed
  • No other PR addresses this (PR #7584 on agno updates the toolkit; this PR updates our docs)

🤖 Generated with Claude Code

Update the Agno integration page to match the toolkit shipped in
agno-agi/agno PR #7584 (scrapegraph-py>=2.0.0): rename the constructor
flags to the actual enable_* names, document the new scrape tool and
render_heavy_js/all flags, drop the removed agentic_crawler references,
and add a raw HTML example.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant