Commit Graph
9 Commits
Author SHA1 Message Date
devin-ai-integration[bot]Micah StairsDevin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>Nicolas
1919799bed feat(python-sdk): add parsePDF parameter support (#1713)
* feat(python-sdk): add parsePDF parameter support

- Add parsePDF field to ScrapeOptions class for Search API usage
- Add parse_pdf parameter to both sync and async scrape_url methods
- Add parameter handling logic to pass parsePDF to API requests
- Add comprehensive tests for parsePDF functionality
- Maintain backward compatibility with existing API

The parsePDF parameter controls PDF processing behavior:
- When true (default): PDF content extracted and converted to markdown
- When false: PDF returned in base64 encoding with flat credit rate

Resolves missing parsePDF support in Python SDK v2.9.0

Co-Authored-By: Micah Stairs <micah@sideguide.dev>

* Update __init__.py

* Update test.py

* Update __init__.py

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Micah Stairs <micah@sideguide.dev>
Co-authored-by: Nicolas <nicolascamara29@gmail.com>
2025-06-26 16:34:43 +00:00
Nicolasandrafaelmmiller 60346ecfa3 Fix/p token (#1305)
* preview-token

* Nick:

---------

Co-authored-by: rafaelmmiller <150964962+rafaelsideguide@users.noreply.github.com>
2025-03-06 19:03:33 -03:00
Nicolas 25da20efd2 Nick: e2e 2025-01-02 19:53:54 -03:00
Nicolas cd08be7f37 Merge pull request #990 from RutamBhagat/python-sdk-conditionally-enforce-api-key
feat(python-sdk): Make API key optional for self-hosted instances
2024-12-27 15:43:37 -03:00
Nicolas d1f3e26f9e Nick: blocklist string 2024-12-20 18:09:49 -03:00
RutamBhagat 29cea4c51d feat(python-sdk): improve API key handling for cloud vs self-hosted services in FirecrawlApp 2024-12-17 13:31:35 -08:00
Nicolas 4edd9a34c7 Nick: totalCount -> total, completedCount -> completed 2024-08-28 14:46:53 -03:00
rafaelsideguide ab88a75c70 fixes sdks 2024-08-22 13:38:34 -03:00
rafaelsideguide 0b8df5e264 python sdk and tests 2024-08-08 14:25:09 -03:00