Skip to main content
WebSearchReader reads data from web search results.

Parameters

WebSearchReader also accepts the base Reader constructor parameters, including max_results for the number of search results to read.

Methods

read()

Searches the web for the query (up to max_results search results), reads each result page, and returns a list of documents.

async_read()

Async variant of read(). Accepts the same parameters.