Imgbrd-grabber: Suppress tag in filename?

Created on 20 Oct 2019  路  2Comments  路  Source: Bionus/imgbrd-grabber

Is there a way to suppress a token string from generating a folder or filename?

Some sites like e621 attribute multiple copyright tags to an image, even though the copyrights belong to the same franchise. imgbrd-grabber creates unique folders based on its unique combinations. e.g:

%artist%/sonic_the_hedgehog/
%artist%/sega+sonic_the_hedgehog/

"sega" doesn't need to be in there. We all know which company published it. It doesn't need a unique folder.

Additionally, an even more annoying problem is that "source_filmmaker" has been categorized under the "copyright" category on e621 instead of an art tool or medium. It absolutely does not need to generated a unique copyright folder, but that's exactly what's happening. e.g.:

artist1/copyright1+copyright2+source_filmmaker/
artist1/copyright1+copyright3+source_filmmaker/
artist1/copyright1+copyright2+copyright3+source_filmmaker/

I am not sorting images by the method of production, so this tag can be suppressed entirely.

This is all due to site site-specific sloppy taxonomy, but unfortunately imgbrd-grabber inherited the problem. What are some possible solutions? One way I could deal with this is just not use the %copyright% token entirely, but in some cases it could be quite helpful. There is probably a more elegant way of dealing with it that I'm not aware of. Is there already a solution for this?

Here's something off the top of my imagination:

%artist%/%copyright:suppress=source_filmmaker%/

I could imagine a "suppress" tag? I know that doesn't exist, but perhaps that might be a solution, unless some clever method can be used existing options?

enhancement question

Most helpful comment

Is there a way to suppress a token string from generating a folder or filename?

Yes, it's called "ignore filename". It's quite hidden, as it can only be accessed by right-clicking a tag:
image

Any tag marked as ignore will still appear in the %all% token but will disappear from others, as if it were without any specific "type" (such as "copyright"), and instead appear in %general%.

All 2 comments

Is there a way to suppress a token string from generating a folder or filename?

Yes, it's called "ignore filename". It's quite hidden, as it can only be accessed by right-clicking a tag:
image

Any tag marked as ignore will still appear in the %all% token but will disappear from others, as if it were without any specific "type" (such as "copyright"), and instead appear in %general%.

Maybe this could be in a menu ? It's really usefull in fact ! Like near to the blacklist so we can manually edit it ? (for exemple I use different "ignore" list for e621 and gelbooru and don't want them to mix)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Lil-Sassy picture Lil-Sassy  路  4Comments

Impervox picture Impervox  路  6Comments

EvilNick3019 picture EvilNick3019  路  4Comments

maskkulin picture maskkulin  路  3Comments

Greko5 picture Greko5  路  4Comments