mikf / gallery-dl

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

[Request] Tumblr post by search #964

Open indrakaw opened 4 years ago

indrakaw commented 4 years ago

Tumblr tagging isn't powerful enough. There is a better way to get posts by exact content and it's post search. It works for post's source too.

Here an example: https://yellowblog.tumblr.com/search/Twitter

gallery-dl hasn't implemented this yet. Please make this as a feature.

God-damnit-all commented 3 years ago

@mikf Maybe I'm just dense, but how does https://github.com/mikf/gallery-dl/commit/3afd362e2e47dd852183906371d31db5d324ab6f relate to this issue?

mikf commented 3 years ago

It doesn't. I somehow got the issue number wrong, sorry about that. It was supposed to close #788.

mikf commented 3 years ago

As it turns out Tumblr's API has no builtin support for searches.

We could try to simulate a search by manually ignoring posts that don't fit the search criteria, although there is a good chance this won't exactly match Tumblr's results, or we go through the results in https://….tumblr.com/search/… and filter any post ids that aren't listed there, but in both cases we'd still have to fetch all posts from a blog and use up the API limit.

indrakaw commented 3 years ago

There is a service called https://www.tumbex.com. It has search, yet doesn't support search on individual blog.

Just like Twitter, there might be a way to search post by blog. On twitter, we can search tweet by user: text to search from:@theuser.

Edit: If it doesn't exist, then suggest. https://github.com/tumblr