This notebook will demonstrate how to use the SerpAPIWrapper
to scrape Google Images for image data.
To use this wrapper, you must sign up for an API key by registering on the SerpAPI website.
The search
function can be used to retrieve results by passing in a prompt. By default, only 10 images are retrieved, but you can pass in a custom number of images to retrieve.
A Document is returned. For reference, we provide the images returned below:
This notebook will demonstrate how to use the SerpAPIWrapper
to scrape Google Images for image data.
To use this wrapper, you must sign up for an API key by registering on the SerpAPI website.
The search
function can be used to retrieve results by passing in a prompt. By default, only 10 images are retrieved, but you can pass in a custom number of images to retrieve.
A Document is returned. For reference, we provide the images returned below: