How to load an image to an applet?

Why doesn't the source HTML code of Google image results change even when I load new results by scrolling down?

  • I am trying to get the links of images returned from Google image search results. I am doing this by saving the HTML on my computer then searching for the image links in that. This gives me the top 100 results. When I try to scroll down to load more results, google gives me more results in my browser but when I try to save/check the HTML I still find the same 100 image links only. Why this happens and how can get like 500-600 image links from the Google image result HTML page. Thanks!

  • Answer:

    The best way to scrape for data is to download Firefox with the http://www.getfirebug.com addon, and check what's actually going on with the website. In Google's case, they load additional image through an AJAX-call, which is then presented in a JSON data file. When I searched for "fruit", this is the JSON-file that showed me results 100 to 200: https://www.google.nl/search?q=fruit&hl=nl&biw=1440&bih=393&site=imghp&tbm=isch&ijn=1&ei=a_gKU4ylAoOH0AX-hIDgBw&start=100&csl=1 If you know this, you can try to automate the process to get the links out of the JSON-files. Please note that scraping Google for image links is against Google's terms of service (article 5.3 on http://www.google.com/accounts/TOS).

Geoffrey Reemer at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.