Flick Rippr Image Downloader
Mon, 15 May 2006 09:28:03 -0500
Since learning some perl, I've realized it has great applications for automatically ripping data from webpages. So I wrote something for flickr to take a users album, rip all the pages out of it and then pull all the full sized images from those pages.
In the archive, there are three files. The perl script, rippr.pl, a users.txt file, and a records.txt file. All that needs to be done is populating the users.txt file with user directories in the format http://www.flickr.com/photos/username. You will also need to create a directory, images, as a subdirectory of the directory where the perl script resides. Then, while running the script, it will create a new directory in images for each user, and pop the images in there, naming them incrementally with numbers so as not to have duplicate image names.
It has worked pretty well for me so far, and it's relatively fast as well. Get it here.
Edit: I upped a new copy that pulls down the original images instead of the sized ones flickr displays by default.
In the archive, there are three files. The perl script, rippr.pl, a users.txt file, and a records.txt file. All that needs to be done is populating the users.txt file with user directories in the format http://www.flickr.com/photos/username. You will also need to create a directory, images, as a subdirectory of the directory where the perl script resides. Then, while running the script, it will create a new directory in images for each user, and pop the images in there, naming them incrementally with numbers so as not to have duplicate image names.
It has worked pretty well for me so far, and it's relatively fast as well. Get it here.
Edit: I upped a new copy that pulls down the original images instead of the sized ones flickr displays by default.




