feat!: migrate to scrapegraph-py v2 API surface#1058
Open
VinciGit00 wants to merge 1 commit intomainfrom
Open
Conversation
Update all SDK usage to match the new v2 API from ScrapeGraphAI/scrapegraph-py#82: - smartscraper() → extract(url=, prompt=) - searchscraper() → search(query=) - markdownify() → scrape(url=) - Bump dependency to scrapegraph-py>=2.0.0 BREAKING CHANGE: requires scrapegraph-py v2.0.0+ Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dependency ReviewThe following issues were found:
License Issuespyproject.toml
requirements.txt
docs/requirements.txt
OpenSSF Scorecard
Scanned Files
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scrapegraph-pySDK usage to the new v2 API surface (see feat!: migrate Python SDK to v2 API surface scrapegraph-py#82)scrapegraph-py>=1.44.0to>=2.0.0SmartScraperGraphand all 3 example scriptsAPI mapping
smartscraper(website_url=, user_prompt=)extract(url=, prompt=)smart_scraper_graph.py, examplesearchscraper(user_prompt=)search(query=)markdownify(website_url=)scrape(url=)Breaking Change
Requires
scrapegraph-py>=2.0.0.Test plan
SmartScraperGraphwithllm_model="scrapegraphai/smart-scraper"works against v2 API🤖 Generated with Claude Code