msgbartop
Code Musings and Such
msgbarbottom

04 Mar 09 Scraping and Saving Flickr Images with Ruby

I've been playing around a bit more with the black arts of spidering and scraping in Ruby and I'm still amazed by how easy it is to do. For fun I whipped up a little script that will spider a Flickr photostream and download all the images.

Flickr provides a wonderful api and there's even a great Ruby interface for it, so this script is entirely futile. But it was fun and educational.

Usage

 
ruby init.rb yourusername /location/to/save
 

Download it!

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Tags: , ,