11 releases
0.3.5 | Aug 13, 2022 |
---|---|
0.3.4 | Sep 17, 2020 |
0.3.3 | Oct 21, 2019 |
0.3.2 | Dec 21, 2018 |
0.1.0 | Dec 5, 2018 |
#2298 in Command line utilities
50 downloads per month
24KB
576 lines
tumblr-likes
A command-line program for downloading liked posts from Tumblr.
Installation
Download the latest release for your platform.
Or, using cargo:
$ cargo install tumblr-likes
Configuration
In order to download liked posts, you will need an API key. Your blog must be configured to share likes publicly, this can be done by going to your blog's "edit appearance" menu.
- Register an application with the Tumblr API. The name and other options don't matter.
- Click "Expore API" under the application you just created
- Click "Allow"
- In the upper right, click "Show Keys"
- Copy the API key shown
Usage
On the command line:
$ tumblr-likes -a <api_key> -b <blog>
To export posts to html:
$ tumblr-likes -a <api_key> -b <blog> --export likes.html
If you don't want to provide the API key every time, you can save it into an environmental variable $TUMBLR_API_KEY
instead.
By default, liked posts will be downloaded into a downloads
folder in the current directory. You can use -d
to set a custom output directory.
Dependencies
~12–26MB
~381K SLoC