for i in range(0, 10):
    url = ('https://ajax.googleapis.com/ajax/services/search/images?' +
        'v=1.0&q=' + searchTerm + '&start=' + str(i * 4) + '&userip=MyIP')
print(url)
request = urllib.request.Request(url, None, {'Referer': 'testing'})
response = urllib.request.urlopen(request)
results = simplejson.load(response)
data = results['responseData']
dataInfo = data['results']
for myUrl in dataInfo:
    count = count + 1
print(myUrl['unescapedUrl'])
myopener.retrieve(myUrl['unescapedUrl'], str(count) + '.jpg')
time.sleep(1)
python search with image google images