Skip to content

[SCR-3865] feat: add search, map and crawl - #9

Merged
agnestatkeviciute92 merged 3 commits into
mainfrom
SCR-3865-feat-add-search-map-and-crawl
Oct 13, 2026
Merged

agnestatkeviciute92 merged 3 commits into
mainfrom
SCR-3865-feat-add-search-map-and-crawl

Conversation

@agnestatkeviciute92

@agnestatkeviciute92 agnestatkeviciute92 commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Adds search(), map(), crawl() and the lower-level start_crawl,
get_crawl_status, get_crawl_results and cancel_crawl on
client.web_scraping_api, served by the Data API and requiring an
api_key. Request and response TypedDicts come from the IR dataApi
section, and bodies are validated against its request schemas.

crawl() polls until the crawl settles and raises CrawlTimeoutError
(with the crawl id, leaving the crawl running), CrawlError on a
faulted or cancelled crawl, and CrawlInterruptedError when a status
or results request fails after the start.

@agnestatkeviciute92
agnestatkeviciute92 merged commit c706d6a into main Oct 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants