Open saafris opened 3 years ago
I did some quick test and at least pool id works, seems like it's not documented but %pool% spits out the pool id, but yeah name would be hugely useful as well.
Any update on this? I just tried setting %pool% in the filename and it doesn't seem to work.
I can confirm that %pool% works for me, but I would love to see something like %pool.name%. That would be really great.
Is your feature request related to a problem? Please describe
On some websites, such as Gelbooru and E621, users regularly add related images (such as the pages of a comic) to the same pool. Currently, there does not seem to be any way for a user of Grabber to group their downloaded files by these pools.
Describe the solution you'd like
It would be useful to have the following two tokens be made available for the filename string.
%pool%, which would be replaced with the pool's name if available, or blank if not part of a pool.
%pool_id%, which would be replaced with the pool's id if available, or blank if not part of a pool.
Additional context
Example pools (SFW images on NSFW websites): https://e621.net/posts/2090773 - A post in multiple pools https://e621.net/pools/20323 - One of the pools the above post is present in
https://gelbooru.com/index.php?page=post&s=view&id=552217 - A post in a single pool https://gelbooru.com/index.php?page=pool&s=show&id=45162 - The pool the above post is present in
I am not sure whether the responses of different websites handle their pools differently.