Ruby script to download all your photos from your flickr account, placing them in corresponding Collection and Set folders.
The bones of this are from mrtuxhdb/flickr-photo-downloader, but I've basically rewritten it for my purposes at this point.
Checkout the code and install libs:
git clone git://github.com/bhaberer/flickr-backup.git
cd flickr-backup
bundle install
Copy the config.yml.example to config.yml and edit it to real values. Follow this link to get an API key and shared secret
Once you have that, you should be able to run flick_auth.rb to retrieve your token and secret.
Once your config.yml is setup, run the script passing the URL to your photostream:
ruby backup.rb download_profile
Note: This only downloads your photos (i.e. you can't currently use it to dump another user's stuff), but it should get all of them, in a hierarchy.
Source code released under an MIT license
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request