-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
hidden tumblr ? #145
Comments
What do you mean with old here? I can only confirm that, given proper OAuth settings for Tumblr in But it's entirely possible that this has changed in the last couple days. This is all uncharted territory now with Tumblr. When I am back at my real PC I can try this again, unless the few hidden blogs I knew haven't been deleted by their owners in the meanwhile. In that case, an example link would probably help. |
I created a hidden/private Tumblr blog for testing purposes: https://mikf123-private.tumblr.com/ On my end everything works as it should: $ gallery-dl https://mikf123-private.tumblr.com/
[tumblr][error] You do not have permission to access the resource at 'https://mikf123-private.tumblr.com/'
$ gallery-dl oauth:tumblr
Please open this URL in your browser:
https://www.tumblr.com/oauth/authorize?oauth_token=BLnSySDTnSamfaAy9Oe0SxaRu6A0bY1DwZUWin32hvaGUxzUmS&perms=read
Waiting for response. (Cancel with Ctrl+c)
Your Access Token and Access Token Secret are
ptZCRr9GJTssrBoOPGp6XK5zcqyqxsBKf4Y4Lx9gvxUuktvRJk
yGP1ijIij5uHkGCfDw84YXLwNwwZqK7XbVExu75YEF7KaYeJkZ
Put these values into your configuration file as
'extractor.tumblr.access-token' and
'extractor.tumblr.access-token-secret'.
Example:
{
"extractor": {
"tumblr": {
"access-token": "ptZCRr9GJTssrBoOPGp6XK5zcqyqxsBKf4Y4Lx9gvxUuktvRJk",
"access-token-secret": "yGP1ijIij5uHkGCfDw84YXLwNwwZqK7XbVExu75YEF7KaYeJkZ"
}
}
}
# access-token and -secret gets added to config file ...
$ gallery-dl https://mikf123-private.tumblr.com/
/tmp/tumblr/mikf123-private/tumblr_mikf123-private_181426988723_01.png The account you are creating the access-token and -secret for must have access to the hidden blog you want to access. I had another token-secret-pair for some test-account set when I tried it the first time and, as you can see, it didn't work. |
oh, i'm sorry, it's private tumblr |
But # empty access token
$ gallery-dl https://peripei.tumblr.com/ -o access-token=
[tumblr][error] The user or post at 'https://peripei.tumblr.com/' does not exist
# valid access token and secret set in config
$ gallery-dl https://peripei.tumblr.com/
/tmp/tumblr/peripei/tumblr_peripei_181342185642_01.jpg
/tmp/tumblr/peripei/tumblr_peripei_179717409887_01.jpg
/tmp/tumblr/peripei/tumblr_peripei_176752497597_01.jpg
/tmp/tumblr/peripei/tumblr_peripei_174826348597_01.jpg |
oh sorry, once again i'm just forgot it (access token not api), every worked now :). I still remember flickr issue when u told me about access-token. THANK 👍 |
Can confirm that URL is working for me as well.. And FYI, a password-protected blog and a hidden/dashboard-only blog are two different things. I think you can do both at the same time, but I've never seen one in the wild. |
Hidden / dashboard-only blogs are pretty straightforward and "only" require a valid 'access-token' and 'access-token-secret' for the given 'api-key' and 'api-secret', so that signed OAuth1.0 requests are possible. Private / password protected blogs on the other hand are a bit cumbersome. In addition to a valid 'access-token' and 'access-token-secret', they also require the account belonging to those tokens to be a member of the blog itself. Knowing the password and entering it in the website isn't enough to access a blog through the API. Following a private blog is also impossible, so that option can't work either.
I saw Hrxn say hidden tumblr worked with old api/secret but when i'm test it, nothing found
#65
The text was updated successfully, but these errors were encountered: