feat(sdk): add MIME and PDF processor options - #101
Merged
Conversation
Search now accepts contentTypes so callers can pick which content types get fetched. Adds application/json and text/markdown to FetchContentType to match the API enum. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
VinciGit00
force-pushed
the
marcovinciguerra/feat/search-content-types
branch
from
July 29, 2026 13:06
fbafa92 to
a23f016
Compare
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
github-actions Bot
pushed a commit
that referenced
this pull request
Jul 30, 2026
# [2.3.0](v2.2.0...v2.3.0) (2026-07-30) ### Features * **sdk:** add MIME and PDF processor options ([#101](#101)) ([69de22f](69de22f))
|
🎉 This PR is included in version 2.3.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Aligns the Python SDK with the current API and playground contract across Scrape, Extract, Search, and Crawl.
Changes
allowed_typesandprocessorsto all four endpoint methods and request modelsPdfProcessor(max_pages=...)content_typesfieldVerification
status: successmax_pages=1returned OCR metadata with exactly one processed pageCounterparts: ScrapeGraphAI/scrapegraph-js#21, ScrapeGraphAI/docs-mintlify#93, ScrapeGraphAI/sgai-stack#963.