-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use oauth to save private likes or blogs marked dashboard-only #128
Comments
Agreed - this is a critical feature, especially as most of the blogs that would be in need of urgent archival are NSFW blogs. Right now TumblThree is the only archiver I know of that offers this, but TumblThree is primarily an image ripper and lacks the ability to download a complete blog in readable format. (It ought to be possible to automatically reconstruct a blog from what it spits out as metadata, but it'd be a pain in the ass.) I know it must be possible somehow, because TumblThree does it. I'm actually trying to look over TumblThree's code to see how they're doing it and if that can somehow be integrated into tumblr-utils or if they're using completely different approaches, but I've never tried to write something to do web scraping before and it's all going over my head. |
This comment sheds some light on how it is done in TumblThree. |
Likewise, this is the part of the code most relevant for how TumblThree can scrape hidden blogs; it shows how they use that hidden svc api. |
I should probably mention this here, could be of interest for @cebtenzzre and others: https://github.com/mikf/gallery-dl CLI, cross-platform, written in Python as well (3) and supports Tumblr, among many others. I've used this (still am, actually) myself, and it worked for the kind of special blogs you mention here. But please note, this was never about doing a full Tumblr backup unlike this project here. (Which, to be fair, you have to do anyway, when setting your personal tokens for OAuth in the config file) I can only say that I've never done any text posts so far. But if someone is willing I'm sure that the OAuth implementation can be adapted from there. Or, alternatively, send over a PR to enhance support for other post types. |
Many of my blogs, and many of those i follow, enabled what is known as the "dashboard-only" option, which disables the
https://username.tumblr.com
link and (more importantly, for this issue) disables unauthenticated API access. Some blogs (those marked sensitive under the previous regime) have had this state forced on them. Additionally, many users don't make their likes public, and would like to back them up anyway.Being able to specify an access_token for requests would make it possible to back up these blogs. Having a tumblr app and oauth flow built into the script is not required, but may be a nice improvement, once the basics have been implemented.
The text was updated successfully, but these errors were encountered: