刮google图像结果php

anyone got any idea how to scrape the google image results? I was just going to use the simple html dom class on the url with the search term put in, but I really don't know how to.

If anyone could help that would be great.

Thanks

Google provides an image search api: http://code.google.com/apis/imagesearch/. You should try to use provider APIs before resorting to screen-scraping whenever possible.

EDIT: Per CrizCraig's comment, the Google image search API is deprecated, but you can now use their Custom Search API to do image searches.

Googles Search API is also limited to 100 searches per day (across all users) so it is completely worthless. If you have 100,000 users only the first hundred searches work per day and then the other 99,900 users are out of luck until the next day. Worthless, Worthless, Worthless.... -rrh