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

Pixiv Tagging #46

Merged
merged 3 commits into from
Dec 6, 2023
Merged

Pixiv Tagging #46

merged 3 commits into from
Dec 6, 2023

Conversation

nitori-dev
Copy link
Contributor

@nitori-dev nitori-dev commented Nov 17, 2023

When running auto-tagger, the config option pixiv_tags allows tagging posts with pixiv tags through the use of the library pixivpy3. The tags will not be automatically translated, and the user will have to alias them with their existing tags if they don't want the Japanese tags. The pixiv.py file acts as a wrapper for the pixivpy3 library and is created and used within the prepare_posts function within utils.py. Post rating can also be acquired via pixiv using the R-18 tag that exists on the site in case no other booru sources are found via saucenao. The pixivpy3 library will require obtaining a token from pixiv with this method: https://gist.github.com/ZipFile/c9ebedb224406f4f11845ab700124362 and putting the token into the config.toml under [pixiv] token.

@reluce reluce self-assigned this Dec 1, 2023
@reluce reluce added the enhancement New feature or request label Dec 1, 2023
@reluce
Copy link
Owner

reluce commented Dec 6, 2023

Thanks for you contribution, LGTM! I had already something prepared for pixiv tags, but I'll just commit that stuff on top of your commits.

@reluce reluce merged commit 8ad532d into reluce:main Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants