Skip to main content

Downloading all the images in a gallery.......

->You should have download accelerator and Mozilla Firefox to perform this trick.
The Trick:
Most of the sites save the images of a particular gallery with a common name followed by a number for example “image1″,”image2″,”image3″ and so on, first we are going to get the image url and then use a “C” program to produce a html page ( dload.htm) which contains links to all the images in the gallery.
Open the gallery which you want to download in mozilla . Now open 3 to 4 images of the gallery , right click on the image and select view image now you will get the url of the image in the address bar compare the urls 3-4 images to find a pattern in them.Now copy the url and replace the url in the code given below with it.Now replace the numbers in the image name which are varying with %d in our case replace “image1″ with “image%d”. You can get the upper limit of “i” by checking the url of the last image compile and run the code given below after replacing the url and open the dload.htm file produced in your favourite browser right click on any of the link and select download all files with mass downloader in case you installed mass downloader now all the files will be downloaded automatically
C code with explanation
#include
main()
{
FILE *fp;
int i;
fp=fopen(”dload.htm”,”w”); /*creates a file named dload.htm */
/*We are using this for loop to write the url’s of the images in to dload.htm */
for(i=0;i<100;i++) href="http://www.blogger.com/%5C%E2%80%9Dhttp://huntmewordpress.com/images/image%d%5C%E2%80%9D">page%d \n”,i,i);
}

Time Saving huh.......

Comments

Popular posts from this blog

If programming languages were cars...

There have been many comparisons between programming languages and different aspects of human life by many individuals .This is one of them , a comparison between programming languages and cars.This post is inspired from the article originally written by Mike Vanier.This is an update to an old series of jokes about computer languages being like cars. Just go through this list and see if you can come out with your own list of comparisons.Here goes the list... The list Ada is a tank. A butt-ugly tank that never breaks down. People laugh uncontrollably if you tell them you drive Ada, but really, do you want to be driving a sports car in a war zone? Assembly Language is a bare engine; you have to build the car yourself and manually supply it with gas while it's running, but if you're careful it can go like a bat out of hell. Assembly Language : YOU are the car. Basic is a simple car useful for short drives to the local shops. Once popular with learner drivers, it has recen...

Google Facts

The name Google is a spelling error. The founders of the site, Larry page and Sergey Brin , thought they were going for Googol .. Googol is the mathematical term for 1 followed by 100 zeros. Initially, Larry and Sergey Brin called their search engine BackRub , named for its analysis of the of the web's "back links." The reason the google page is so bare is because t he founder didn't know HTML and just wanted a quick interface. The company's first office was in a garage , in Menlo Park, California . Google's first employee was Craig Silverstein, now Google's Director of technology. The basis of Google's search technology is called PageRank that assigns a rank to determine how useful it is. However, that is not why it is called PageRank. It is actually named after Google co-founder Larry Page . It would take 5,707 years for a person to search Google's 3 billion pages . The Google software does it in 0.5 seconds. The logos that appear on ...

T Shirt Quotes related to Computers

Last week while searching for some computer related quotes for T Shirt I came across certain quotes that I thought were very good.So I thought why not share these quotes with you.So here are these quotes,pick the one you like or if you have any of your favorites then do share it with us.Here is the list.. "Programmers don't byte, they nibble a bit" "To iterate is human, to recurse divine" " first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time" "99% of all girls are beautiful, the rest 1% are in my college "ASC!! a stupid question,get a stupid ANS!" "In cartooned form Atom1 - I have lost an electron. Atom2 - Are you sure? Atom1 - I am positive." "There's no place like 127.0.0.1 (“Home” for the non-geeks)" "YouTube(logo) myspace(logo) and I'll Google(logo) your Yahoo(logo)." " I'm a progr...