PixivUtil2 icon indicating copy to clipboard operation
PixivUtil2 copied to clipboard

Ignore or label tags by non-artist users

Open worsttested opened this issue 3 years ago • 1 comments
trafficstars

Prerequisites

  • [X] Did you read FAQ section in readme.md?
  • [X] Did you test with the latest releases or commit?
  • [X] Did you search for existing issues in Issues?

Description

Does the script have a way to ignore or label "unlocked" tags added to images by users other than the artist? Since users can tag an image, many images have inaccurate or irrelevant tags added after the fact. I'm mostly interested in avoiding including those in the image info files, but I imagine it would also be useful to exclude them from the download-by-tag feature.

To be clear, I don't want to avoid any given tag entirely, just exclude unlocked instance of that tag from info files or metadata. The issue is whether a given tag was added/locked by the original artist for each image. Example tags below. I want to keep those first three "non-editable" tags, while leaving out the rest of that mess. Sometimes they're accurate, but often they're misleading, and sometimes they're complete garbage.

Is there a way to do this in the script as is? If not, is there any workaround I can apply myself?

image

Version

v20220924 running from terminal in Linux

worsttested avatar Oct 22 '22 16:10 worsttested

I'm mostly interested in avoiding including those in the image info files,

Are you using the raw json or the .txt file? The raw json has userId attribute to differentiate the author.

but I imagine it would also be useful to exclude them from the download-by-tag feature.

This one might not be possible, as the server doesn't differentiate the tags when searching.

Nandaka avatar Oct 26 '22 11:10 Nandaka

Ahh, you're correct, I had checked the info and basic json files, but didn't realized the raw json could differentiate. Perfect, I can use that to filter tags if I decide to be picky about it, but switching to the raw json solves my main problem. Appreciated!

worsttested avatar Oct 29 '22 20:10 worsttested