Open kifchan opened 8 months ago
Did you look at the Search documentation? You should use Post-filters for that.
Search: animal_ears
Post-filtering: !("1boy"|"2boys"|"multiple_boys")&("1girl"|"2girls"|"multiple_girls")
Did you look at the Search documentation? You should use Post-filters for that.
There's nothing in the documentation about this
About your example, if file contain 1girl and 1boy, still doesnt work i guess (or i did something wrong), i want to skip only files where only boys. And if file not contain 1girl and 1boy i also want download it
I'll try to put it another way. I want download any files and exclude files with "1boy" BUT, if "1boy" file also contain "1girl" tag, then this should be free to download
I'll try to put it another way. I want download any files and exclude files with "1boy" BUT, if "1boy" file also contain "1girl" tag, then this should be free to download
Try that? 🤔
!("1boy"|"2boys"|"multiple_boys")&("1girl"|"2girls"|"multiple_girls")|("1girl"|"2girls"|"multiple_girls")
If you want everything that contains at least one of 1girl, 2girls and multiple_girls tags, then you can simply use ("1girl"|"2girls"|"multiple_girls")
and not say anything about boy tags. I don't know how operators work in Grabber, but if it's as @ProtagNeptune said, then this should work.
If you want also the images without girl tags, then add |!("1boy"|"2boys"|"multiple_boys")
to the rightside of expression above, without space.
Should be like this:
("1girl"|"2girls"|"multiple_girls")|!("1boy"|"2boys"|"multiple_boys")
Assuming |
is the or operator, this will prioritize images with girl tags, if not found then ignore images with boy tags.
If you want everything that contains at least one of 1girl, 2girls and multiple_girls tags, then you can simply use
("1girl"|"2girls"|"multiple_girls")
and not say anything about boy tags. I don't know how operators work in Grabber, but if it's as @ProtagNeptune said, then this should work.
Yeah, that is definitely easier.
If you want also the images without girl tags, then add
|!("1boy"|"2boys"|"multiple_boys")
to the rightside of expression above, without space.
The !
inverts the statement so |!("1boy"|"2boys"|"multiple_boys")
will remove every image containing the boy tags.
Assuming
|
is the or operator, this will prioritize images with girl tags, if not found then ignore images with boy tags.
Yeah, you can find that in the Filename documentation at the If-then-else conditions.
I'll try to put it another way. I want download any files and exclude files with "1boy" BUT, if "1boy" file also contain "1girl" tag, then this should be free to download
Try that? 🤔
!("1boy"|"2boys"|"multiple_boys")&("1girl"|"2girls"|"multiple_girls")|("1girl"|"2girls"|"multiple_girls")
Thx, this work better, but it won't load any pictures like i said before, this one without 1boy and 1 girl was ignored https://gelbooru.com/index.php?page=post&s=view&id=9811903
Assuming
|
is the or operator, this will prioritize images with girl tags, if not found then ignore images with boy tags.Yeah, you can find that in the Filename documentation at the If-then-else conditions.
Great conditions already exist here :D thank you for link
I'll try to put it another way. I want download any files and exclude files with "1boy" BUT, if "1boy" file also contain "1girl" tag, then this should be free to download
Try that? 🤔
!("1boy"|"2boys"|"multiple_boys")&("1girl"|"2girls"|"multiple_girls")|("1girl"|"2girls"|"multiple_girls")
Thx, this work better, but it won't load any pictures like i said before, this one without 1boy and 1 girl was ignored https://gelbooru.com/index.php?page=post&s=view&id=9811903
Try that? 🤔
!("1boy"|"2boys"|"multiple_boys")&("1girl"|"2girls"|"multiple_girls")|!("1boy"|"2boys"|"multiple_boys")&!("1girl"|"2girls"|"multiple_girls")|("1girl"|"2girls"|"multiple_girls")
This should read as something like:
But I might be overcomplicating it a bit, I think... 😅
Try that? 🤔
!("1boy"|"2boys"|"multiple_boys")&("1girl"|"2girls"|"multiple_girls")|!("1boy"|"2boys"|"multiple_boys")&!("1girl"|"2girls"|"multiple_girls")|("1girl"|"2girls"|"multiple_girls")
Seems like this one work ^_^
Seems like this one work ^_^
So for a complete answer here ya go:
To both get images without the boy tags and without the girl tags:
!("1boy"|"2boys"|"multiple_boys")&!("1girl"|"2girls"|"multiple_girls")
To both get images with the boy tags and with the girl tags:
("1boy"|"2boys"|"multiple_boys")&("1girl"|"2girls"|"multiple_girls")
To get images without the boy tags:
!("1boy"|"2boys"|"multiple_boys")
To get images with the girl tags:
("1girl"|"2girls"|"multiple_girls")
So: !("1boy"|"2boys"|"multiple_boys")&!("1girl"|"2girls"|"multiple_girls")|("1boy"|"2boys"|"multiple_boys")&("1girl"|"2girls"|"multiple_girls")|!("1boy"|"2boys"|"multiple_boys")|("1girl"|"2girls"|"multiple_girls")
That's about it. 🤔
The
!
inverts the statement so|!("1boy"|"2boys"|"multiple_boys")
will remove every image containing the boy tags.
Only if first expression evaluates to false, that is no girl tags found.
For example site danbooru, i want download tag animal_ears except images contained boys wihout girls.
The
!
inverts the statement so|!("1boy"|"2boys"|"multiple_boys")
will remove every image containing the boy tags.Only if first expression evaluates to false, that is no girl tags found.
True, I edited my previous comment to reflect that. 🫡
Problem: For example site danbooru, i want download tag animal_ears except images contained boys wihout girls. If i add tag -1boy thats mean even if image contain 1girl this will be dropped.
But I don't know a nice solution =\ something like: animal_ears (-1boy -2boys -multyply_boys except 1girl 2girls multiple_girls)