Ruby script to download all the photos from a Tumblr blog.
Tumblr used to have a GUI backup tool for Mac OS but it appears to be unmaintained :''( Tumblr Backup.app
Checkout the code:
git clone https://github.com/jamiew/tumblr-photo-downloader
cd tumblr-photo-downloader
Install bundler if you don't have it already:
gem install bundler
bundle install
Run the script, specifying your blog URL as the argument:
bundle exec ruby tumblr-photo-downloader.rb jamiew.tumblr.com
By default, images will be saved in a sub-directory of the directory containing the script (eg tumblr-photo-downloader/jamiew.tumblr.com). If you want them to be saved to a different directory, you can pass its name as an optional second argument:
bundle exec ruby tumblr-photo-downloader.rb jamiew.tumblr.com ~/pictures/jamiew-tumblr-images/
If you have run the script previously, specifying the same Tumblr URL and destination directory, then it will stop after sequentially encountering links to 50 images that have been previously downloaded.
Enjoy!
Source code released under an MIT license
Pull requests welcome.
- 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