alexwlchan / backup_tumblr Goto Github PK
View Code? Open in Web Editor NEWScripts for backing up your posts, likes and media files from Tumblr
License: MIT License
Scripts for backing up your posts, likes and media files from Tumblr
License: MIT License
Hi again!
I got everything successfully installed, I think, and got a tumbr consumer key, but when I tried to run the script it gave an error.
$ python save_posts_metadata.py
Traceback (most recent call last):
File "save_posts_metadata.py", line 8, in <module>
from sinkingship import get_all_posts, save_post_metadata
File "/home/[username]/backup_tumblr/sinkingship.py", line 37
def get_all_likes(*, blog_identifier, api_key):
^
SyntaxError: invalid syntax
I'm stuck at the registering for a Tumblr API key, as I've never used this before.
If I'm just backing up to my hard drive, what am I using for the Application Website? The default callback URL? I'm assuming that I leave everything unstarred blank?
Thanks for releasing this. When I try to run save_likes_metadata.py I get this error:
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.tumblr.com/v2/blog/blog-name.tumblr.com/likes?api_key=my-key
Getting post metadata seems to be OK though. Any idea what might be going wrong?
Edit: I just checked in the browser and blog.tumblr.com/posts gives message OK but /likes gives 403 forbidden.
I do have one question. This application can't download deleted posts from likes, right? For example, if the post you liked got deleted?
Thank you.
If you run save_media_files.py
and it encounters a video post with type "vine", there's enough information to get a video URL from the embed HTML, but a lot of Vine videos I've tried fail with 403 errors.
Probably related: ytdl-org/youtube-dl#17883
Sorry if this is obvious, I'm an absolute newbie.
Here's what I'm getting in my terminal:
$ git clone [email protected]:alexwlchan/backup_tumblr.git
Cloning into 'backup_tumblr'...
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Hi, I get error ModuleNotFoundError: No module named 'click' on line 6 import click
I've tried pip3 install click but didn't work. I think it may be related to PATH variable, I added Python36-32 and Python36-32\Scripts to PATH for commands to work but maybe I messed it up? Sorry if it's a complete newb question, I've looked online but still stuck. Would appreciate any help :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.