Ruby script to backup a photo-and-video-centric Tumblog locally.
Post contents are saved in /data/:media_type:/
Key post data is written to /data/posts.json
Within locally cloned repo:
cp .env.example .env
bundle install
ruby tumblr.rb
- download images locally
- format posts photo urls to match local photo filenames
- prevent posts from being re-read each usage
- handle video/non-photo posts
- make filenames useful