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

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...

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 ...

HTTP AND HTTPS-A Comparison

Uniform Resource Locator(URL) URL strings consist of three parts Network protocol Host name or address File or resource location These substrings are separated by special characters as follows: protocol :// host / location URL Protocol The 'protocol' substring defines a network protocol to be used to access a resource. These strings are short names followed by the three characters '://' (a simple naming convention to denote a protocol definition). Typical URL protocols include http://, ftp://, and mailto://. Now check out the URL of this page (the one that is displayed in the address(navigation) bar).What does that say ?What we are going to discuss is HTTP and HTTPS which have a role to play in our follow up post... HTTP: HyperText Transfer Protocol Used by browsers for fetching Web data from servers. Because of its universal availability (e.g., firewalls don't interfere) has become widely used as a general-purpose protocol for network communication. Simple ...