docs(python): refresh for scrapegraph-py >= 2.1.0#50
Merged
VinciGit00 merged 2 commits intomainfrom Apr 21, 2026
Merged
Conversation
v2.1.0 dropped the typed request wrappers (ScrapeRequest, ExtractRequest, SearchRequest, CrawlRequest, MonitorCreateRequest, MonitorUpdateRequest, MonitorActivityRequest, HistoryFilter) in favor of direct positional / keyword arguments on each method. Update the Python SDK doc and the install guide to match, bump the pinned version to >= 2.1.0, and note the Python >= 3.12 requirement. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Six scripts under tests/python-v2.1.0/ that each call one SDK endpoint (scrape, extract, search, credits+health, crawl, monitor) five times against the live v2 API. Reads SGAI_API_KEY from env. Captured output in results.txt β 30/30 calls returned status=success against scrapegraph-py 2.1.0. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
sdks/python.mdxandinstall.mdto match scrapegraph-py 2.1.0, which dropped the typed request wrappers (ScrapeRequest,ExtractRequest,SearchRequest,CrawlRequest,MonitorCreateRequest,MonitorUpdateRequest,MonitorActivityRequest,HistoryFilter) in favor of direct positional/keyword arguments.>= 2.1.0and note the Python >= 3.12 runtime requirement.sgai.scrape("https://example.com", formats=[...]),sgai.extract("prompt", url=...),sgai.monitor.create(url, cron, name=...)).tests/python-v2.1.0/β six scripts (one per endpoint) that exercisescrape,extract,search,credits+health,crawl,monitorfive times each against the live v2 API. Captured output inresults.txtshows 30/30 calls returnedstatus=successon scrapegraph-py 2.1.0. The scripts readSGAI_API_KEYfrom the environment β no secrets committed.Commits
docs(python): refresh for scrapegraph-py >= 2.1.0β the doc updates.tests(python): add v2.1.0 endpoint verification scripts and resultsβ the parallel commit with the verification artifacts.Test plan
scrapeΓ 5 URLs β all successextractΓ 5 prompts β all success,json_datapopulatedsearchΓ 5 queries (num_results=3) β all successcredits+healthΓ 5 β all successcrawl.startβ poll βcrawl.deleteΓ 5 URLs β all reachedstatus=completedmonitor.createβmonitor.deleteΓ 5 β all successπ€ Generated with Claude Code