A fork of tumblr-utils with Python 3 support, bug fixes, and lots of features I found useful.
When trying to install either with `[all]` or `[exif]` installation fails completely. This is due to problems with py3exiv2. py3exiv2 is expecting dependencies that are not installed on the machine, and since it can't find them, `tumblr-utils` will not install at all. Clarifying this by saying "hey you need these dependencies for EXIF" or finding a way to download them with `py3exiv2` could be helpful. The traceback error I kept getting had to do with ".hpp" files not being found for the dependencies. This issue was noted in #31 but hasn't yet been corrected. My solution for macOS, with `tumblr-backup` installed in a virtual environment using `pipx`: 1. Install the dependencies: `brew install exiv2 boost boost-python3` (I usually use homebrew as a package manager). 2. Activate the `tumblr-backup` venv (virtual environment) and change file paths so that the package can find the .hpp files it needs. For macOS: ``` # Change the ./ in the first line to the path to your venv # The version number folders for exiv2, boost, and boost-python3 could change source ./tumblr-backup/bin/activate export CPLUS_INCLUDE_PATH=/opt/homebrew/Cellar/exiv2/0.28.5/include/:/opt/homebrew/opt/libssh/include/:/opt/homebrew/Cellar/boost/1.87.0_1/include/ export LDFLAGS="-L/opt/homebrew/Cellar/boost-python3/1.87.0_1/lib -L/opt/homebrew/Cellar/exiv2/0.28.5/lib" python3 -m pip install py3exiv2 ``` 3. Install `tumblr-backup` by itself and then individually install any other wanted modules. **Documentation suggestions:** **Installing Modules needs Quotes ('):** Running `pipx install tumblr-backup[all]` just gives a result that the package can't be found. The proper syntax is `pipx install 'tumblr-backup[all]'` with quotes around the package name. Maybe programmers implicitly know this, I didn't. I think clarifying this in the docs could be helpful for future users. Unless this is an issue specific to `pipx` and I'm an idiot (possible). **The brackets in the examples for `-p` aren't needed** Another non-programmer user error mistake I made was using brackets when trying to save posts from a specific date (`2025[04]06])` instead of `20250406`). I now know that this is common CLI syntax but this was also a point of confusion from the documentation. <details><summary>(I had some trouble with saving videos and the -p period flag but figured it out)</summary> <p> **Using tumblr-backup** Youtube video posts don't save their video despite having the [video] module installed and using the --save-video flag. Didn't notice any error messages about this though. This is possibly user error and I will test this further. Edit: applying the fix in issue #35 solved this. What exactly is the expected format for saving posts in a certain timeframe? I tried using: - `tumblr-backup blogname --save-video --save-audio -p 2025[04[06]][Z]` - `-p 2025[04[06]]` - `-p 2025[04[06]][0]` and `-p 2025[04[06]][+1]` - `-p '2025', '04', '06'`, `-p '2025', '4', '6'`, `-p 2025, 04, 06`, and `-p 2025, 4, 6` I only found success getting posts from a specific day by doing `tumblr-backup blogname --save-video --save-audio -p 2025-04-06` like how the original script did. However, doing this causes a UnicodeDecodeError and prevents custom.css and index.html from generating. Posts will save, though. </p> </details> Thanks for your previous help and also for continuing to maintain and update this script! (edited this to make it more concise)
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by schwizzlers and has received 3 comments.