mikf / gallery-dl

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

[Tumblr] Support for downloading raw files #3383

Open ermnick opened 1 year ago

ermnick commented 1 year ago

To download the raw version of a Tumblr image you first need to draft a reblog of the post you want to download, then export the blog at the bottom of https://www.tumblr.com/settings/blog/(your_blog_name). After some time Tumblr will provide a compressed archive of your blog at the bottom of the settings page which contains the raw files.

afterdelight commented 1 year ago

can this used to download raw files of someone else blog?

ClosedPort22 commented 1 year ago

There doesn't seem to be an API endpoint for this particular function, unfortunately. Also, it would probably be necessary to group many blog posts together for better efficiency, so this would not be a trivial task.

mikf commented 1 year ago

I don't think this is something gallery-dl should be able to do, especially since

There doesn't seem to be an API endpoint for this

and basically everything for Tumblr, including authentication, depends on the API


Never mind, there is an API endpoint for creating reblogs: https://www.tumblr.com/docs/en/api/v2#postreblog--reblog-a-post-legacy