Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Zerochan] Enabling metadata for posts returns tags prepended with a colon when using an account. #5874

Closed
taskhawk opened this issue Jul 21, 2024 · 4 comments

Comments

@taskhawk
Copy link

In Zerochan when using the zerochan.metadata option to retrieve tags, the returned tags have a colon character at the beginning of each tag, but only when using an account, either with credentials or with cookies. Otherwise the tags are returned without the colons.

Example output:

tags[N]
   0 :Amezawa Koma
   1 :Pokémon
   2 :VOCALOID
   3 :Hatsune Miku
   4 :Jigglypuff
   5 :Fairy Miku
   6 :Blue Hair
   7 :Blue Skirt
   8 :Cross-Over
   9 :Duo
  10 :Female
@mikf
Copy link
Owner

mikf commented Jul 21, 2024

There's supposed to be a tag type value before each colon (e.g. Series:VOCALOID).

@taskhawk
Copy link
Author

Is it possible to retrieve the tag types to categorize the tags like with [booru].tags?

mikf added a commit that referenced this issue Jul 23, 2024
allow splitting tags into separate lists by category
@mikf
Copy link
Owner

mikf commented Jul 23, 2024

tags values are fixed (ae40c61) and you can now get categorized tag lists by enabling the tags option (5207a0c).

@taskhawk
Copy link
Author

Works well, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants