Setox
Elite Member
- Apr 30, 2015
- 2,430
- 4,673
Hi guys, So I've been looking for some files in an old Hard disk & found that script, Year ago, I was looking for a free tool to bulk download google image, i even asked here, after some research i found that script somewhere in the web, I thought it's not worth sharing & everyone maybe know about it, or there are many free tools that i don't know about, but since there still peoples selling such tools so why not share a free solution :
Disclaimer : this is not my script, i can't remember where i found it exactly.
Step 1 : Go to google image, & type your keyword in the search bar, add filter or advanced search until you got the result you want. (as you'd normally do)
Step 2 : Scroll down the page to get more images visible on the result page.
Step 3 : Right-click & then "inspect element" and open "Console" .
Step 4 : Copy & paste this script in console then hit "Enter" :
You'll get the URLs of all the images displayed on the result page, you'll find them on the TOP of the page, those would be the urls to the original images so you'll get the Original size.
Step 5 : Copy those link & paste them on a Notepad or something.
Step 6 : Now use any of the download managing tool out there to bulk download those links, i'm using a free extension called " Chrono " you can find it on google chrome store, Httrack can do that too, & i believe there are many free solution for that, it's the last & eazy step.
Hope that helps you guys, whatever the project you want to use those images for, this could save you time for sure.
Disclaimer : this is not my script, i can't remember where i found it exactly.
Step 1 : Go to google image, & type your keyword in the search bar, add filter or advanced search until you got the result you want. (as you'd normally do)
Step 2 : Scroll down the page to get more images visible on the result page.
Step 3 : Right-click & then "inspect element" and open "Console" .
Step 4 : Copy & paste this script in console then hit "Enter" :
Code:
var cont=document.getElementsByTagName("body")[0];
var imgs=document.getElementsByTagName("a");
var i=0;var divv= document.createElement("div");
var aray=new Array();var j=-1;
while(++i<imgs.length){
if(imgs[i].href.indexOf("/imgres?imgurl=http")>0){
divv.appendChild(document.createElement("br"));
aray[++j]=decodeURIComponent(imgs[i].href).split(/=|%|&/)[1].split("?imgref")[0];
divv.appendChild(document.createTextNode(aray[j]));
}
}
cont.insertBefore(divv,cont.childNodes[0]);
You'll get the URLs of all the images displayed on the result page, you'll find them on the TOP of the page, those would be the urls to the original images so you'll get the Original size.
Step 5 : Copy those link & paste them on a Notepad or something.
Step 6 : Now use any of the download managing tool out there to bulk download those links, i'm using a free extension called " Chrono " you can find it on google chrome store, Httrack can do that too, & i believe there are many free solution for that, it's the last & eazy step.
Hope that helps you guys, whatever the project you want to use those images for, this could save you time for sure.