Written by Mohamed Eldawy (eldawy@cs.wisc.edu) on 12-30-2006. Please email me with any questions. What does this do? ------------------ This script is a modification to Andrew's original script for doing Google Image Search. This version also saves the resulting images into a local directory and names them in the form imagesX.jpg, where X is the image index. What is its role? ----------------- This is step #1 for finding the best image for a keyword. Clearly, we need the images themselves, in order to be able to find the best one How to use it? -------------- Just like the original... run the command python google_image_search.py *Keyword* *N* [-f] "keyword" is the keyword you are looking for. "N" is how many results you need -f can be optionally used to retrieve the original images rather than the thumbnail results. Resulting images are stored in the same directory as the script, and are named in the form "imagesX.jpg", where X ranges from 1 to N. Any problems? ------------- This script sometimes results in a 403 error (Forbidden). I am not sure why this happens. Could be some sort of Google security or something. I will talk to Andrew about it. Credits ------- This script is based on Andrew's original script for finding the URLs for image results. (Thanks Andrew :))