mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.37k stars 925 forks source link

[tumblr] Setting access-token{,-secret} seemlingy no longer working #3603

Closed kattjevfel closed 1 year ago

kattjevfel commented 1 year ago

Even after running gallery-dl oauth:tumblr and copying the values into the config.json I get the good ol' Daily API rate limit exceeded message and told to get my own oauth application.

katt@main ~ » gallery-dl --verbose https://linterteatime.tumblr.com/post/706224527583133696/answer-the-question-susie
[gallery-dl][debug] Version 1.25.0-dev
[gallery-dl][debug] Python 3.10.9 - Linux-6.1.9-zen1-1-zen-x86_64-with-glibc2.36
[gallery-dl][debug] requests 2.28.1 - urllib3 1.26.12
[gallery-dl][debug] Configuration Files ['${HOME}/.config/gallery-dl/config.json']
[gallery-dl][debug] Starting DownloadJob for 'https://linterteatime.tumblr.com/post/706224527583133696/answer-the-question-susie'
[tumblr][debug] Using default OAuth1.0 authentication
[tumblr][debug] Using TumblrPostExtractor for 'https://linterteatime.tumblr.com/post/706224527583133696/answer-the-question-susie'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): api.tumblr.com:443
[urllib3.connectionpool][debug] https://api.tumblr.com:443 "GET /v2/blog/linterteatime.tumblr.com/posts?id=706224527583133696&offset=0&limit=50&reblog_info=true HTTP/1.1" 429 143
[tumblr][info] Daily API rate limit exceeded
[tumblr][info] Register your own OAuth application and use its credentials to prevent this error: https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst#extractortumblrapi-key--api-secret
[tumblr][error] Aborting - Rate limit will reset at 09:19:05

This used to work at least a few weeks ago, guessing something changed at their end (or just temporarily broken) Running gallery-dl 78d3960a

mikf commented 1 year ago

[tumblr][debug] Using default OAuth1.0 authentication

You need to get your own api-key and api-secret to get around the shared rate limit. access-token{,-secret} have no influence on this limit. It working previously must have been you getting "lucky".

kattjevfel commented 1 year ago

That's entirely on me for not actually reading the error properly, figured it was just telling me about oauth...