pypi / scrapegraph-py
scrapegraph-py
What changed in scrapegraph-py 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-12.
6 breaking17 new APIs and options1 behavior and defaults3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initscrapegraph-py 29 changes
Breaking changes 3
HealthResponse.status is narrowed to Literal["ok", "degraded"].
The default API base URL now uses the v2-api host.
Renames SGAI_TIMEOUT_S to SGAI_TIMEOUT.
New APIs and options 3
Adds SDK options for MIME and PDF processors.
Adds support for crawling pages.
Adds an endpoint for polling monitor results.
Behavior and default changes 1
Updates the default API URL.
Fixes and other changes 2
A User-Agent header is now sent on every API request.
HealthResponse no longer includes the non-existent services field.
scrapegraph-py 118 changes
Breaking changes 3
The synchronous client was renamed from SyncClient to Client.
Adds infinite scrolling, with scroll configuration simplified to the number_of_scrolls parameter instead of scroll_options.
The local scraper was removed after being merged into smartScraper.
New APIs and options 14
Adds the wait_ms parameter to the Crawler endpoint.
Adds the location_geo_code parameter to SearchScraper.
Adds the time_range parameter to SearchScraper.
Adds the wait_ms parameter to SmartScraper, Scrape, and Markdownify endpoints.
Adds integration for the API and ScrapeGraphAI API.
Adds a crawling endpoint for developers to use.
Adds integration for environment variables and updates environment variable loading.
Adds localScraper functionality; the notes also say it was later merged into smartScraper and removed.
Adds markdownify functionality.
Requests can include optional headers.
Adds support for requests with a schema.
Implements search scraper functionality.
Adds SQL integration.
Adds time-varying timeout support and makes timeout optional.
Fixes and other changes 1
Removes a trailing comma from the headers field in the ScrapeRequest model.