Open sillyofpepper opened 1 month ago
If the current folder is the same as where the script was downloaded, the correct command is ./tumblr_backup.py
. Note the dot and slash at the start. If your current folder is not the same as the download folder, put the name of the download folder first, e.g. /Users/sillyofpepper/Downloads/tumblr_backup.py
.
Hope this helps.
EDIT: the variable HOME
contains the path of your home folder, so this can be simplified to $HOME/Downloads/tumblr_backup.py
.
Thank you! I hope you don't mind guiding me through a new error: "non-ok API response: HTTP 404 not found"
Can you post the complete command you entered and the complete output that results?
./tumblr_backup.py [blog name]
URL is https://api.tumblr.com/v2/blog/[blog name]/posts?api_key=cQ5bM9IINU3SQDX1l7puMrbtJJAixufL0u9tou0f45A7nPF4xQ&limit=1&reblog_info=true
[FATAL] Non-OK API repsonse: HTTP 404 Not Found
{'meta': {'status': 404, 'msg': 'Not Found'}, 'errors': [{'title': 'Not Found', 'code': 0, 'detail': 'Hit a glitch. Try again.'}], 'response': []}
Failed to back up [blog name]
I just replaced the blog name for privacy.
Thank you for helping me through this.
This might be a very simple question since I'm not very familiar with running code in the terminal, but I keep getting the result "command not found: tumblr_backup.py" I downloaded tumblr-utils in November 2023 I ran tumblr_backup.py [blog name] from the folder it was in It might be relevant that I'm on a mac and am using the terminal.