DEV Community

Discussion on: Python: Get and Save Google images with Selenium

Collapse
 
rahul523680 profile image
rahul kumar • Edited

Hi,

This a very nice post that would help me in my research. Can you please help me in changing this code to download products image from google.
I have a list of products name, I need to download products images from google(or any search engine) and store it to a folder(any). I tried with the help of stack but it is giving me error. I tried:
from google_images_download import google_images_download

response = google_images_download.googleimagesdownload()
arguments = {"keywords":"Polar bears,baloons,Beaches","limit":20,"print_urls":True}

paths = response.download(arguments)
print(paths)

which is giving me the folders only and not image. All photos can be stored in one folder too.