Jump to content
UBot Underground

What is the best way to scrape image URLs from G**gle?


Recommended Posts

Man trying to get image urls from g**gle is hard or I am just going about it totally the wrong way:

 

http://www.ubotstudio.com/forum/index.php?/topic/12180-what-the-hell-is-this/

 

Is there a better/easier way to get image  url's from g**gle image results?

 

Link to post
Share on other sites

This actually saves the images, but it has been working for me for months now.  Enjoy!

 

define Google Image Scraper {
    navigate("http://images.google.com/", "Wait")
    type text(<name="q">, #Google Image Search, "Standard")
    wait(1)
    click(<name="btnG">, "Left Click", "No")
    wait for browser event("Page Loaded", "")
    focus(<innertext="Advertising Programs">)
    wait(5)
    create folder($special folder("Application"), "Name of Folder to Save Images")
    wait(3)
    add list to list(%profile pictures, $scrape attribute(<src=w"http://t*.gstatic.com/images?*">, "fullsrc"), "Delete", "Global")
    loop(10) {
        click(<innertext="Next
">, "Left Click", "No")
        wait for browser event("Everything Loaded", "")
        add list to list(%google images, $scrape attribute(<src=w"http://t*.gstatic.com/images?*">, "fullsrc"), "Delete", "Global")
        wait(1)
    }
    loop($list total(%google images)) {
        download file($next list item(%google images), "{$special folder("Application")}\\Name of Folder to Save Images\\image{$list position(%google images)}.jpg")
    }
    wait(2)
}
  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...