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

Unlisted boards cause an error after the NSFW check #9

Open
loynet opened this issue Oct 5, 2022 · 1 comment
Open

Unlisted boards cause an error after the NSFW check #9

loynet opened this issue Oct 5, 2022 · 1 comment

Comments

@loynet
Copy link

loynet commented Oct 5, 2022

The board whitelist allows one to specify a list of boards to be checked and, at the moment, some of them may be secret (unlisted). The method post_thread checks if a board is NSFW by fetching information in the <jschanib.tld>/boards.json endpoint but this endpoint only returns info about listed boards.

Maybe we should only allow listed boards on the whitelist? If there's no way to know if an unlisted board is NSFW we can't mark its media appropriately.

@Lacerkage
Copy link
Owner

Does content published on unlisted boards appear on the overboard?
If not, then I suggest we should ignore unlisted boards for the moment

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

No branches or pull requests

2 participants