Skip to content

Backup a tumblr blog to a local SQLite database using the Tumblr API

License

Notifications You must be signed in to change notification settings

spambusters/tumblr-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tumblr-backup

Backup a tumblr blog to a local SQLite database using the Tumblr API.
This does not include downloading images. For that, check out tumblr-dl.

Requirements

  1. Python 3.6
  2. requests library pip install requests

Usage

tumblr-backup.py [-h] [-o OFFSET] blog

positional arguments:
  blog                  Tumblr blog

optional arguments:
  -o, --offset  Post offset

Config

This script uses the Tumblr API so you'll need an API key.
This can be obtained by using the Tumblr API Console.

Next, create a config file. (e.g. config.txt).
The API key should be the first and only line of the config file.

Finally, insert the PATH of the config into the CONFIG variable of tumblr-backup.py.

CONFIG = '../config.txt'

About

Backup a tumblr blog to a local SQLite database using the Tumblr API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages