How to download google image search results in Python

xanderflood picture xanderflood · Mar 5, 2016 · Viewed 37.3k times · Source

This question has been asked numerous times before, but all answers are at least a couple years old and currently based on the ajax.googleapis.com API, which is no longer supported.

Does anyone know of another way? I'm trying to download a hundred or so search results, and in addition to Python APIs I've tried numerous desktop, browser-based, or browser-addon programs for doing this which all failed.

Answer

Andriy Ivaneyko picture Andriy Ivaneyko · Mar 5, 2016

Use the Google Custom Search for what you want to achieve. See @i08in's answer of Python - Download Images from google Image search? it has great description, script samples and libraries references.