ClarityCafe / Sagiri

Simple, lightweight, and easy to use SauceNAO API wrapper for Node.JS.
MIT License
97 stars 13 forks source link

Reconsider reimplementing Ratings #278

Open sr229 opened 4 years ago

sr229 commented 4 years ago

As part of Project Aya, we want to disseminate which is NSFW and which isn't since we have a NSFW filter enabled in Aya. However, Sagiri won't acknowledge that, and instead of a Aya-level implementation we could do it in a library-level implementation where everyone can benefit.

Eldoprano commented 3 years ago

The SauceNAO API has an option that can filter out NSFW content by levels:

hide = <0|1|2|3> | This controls the hidden field of results based on result content info. All results still show up in the api, check the hidden field for whether the site would have shown the image file.0=show all, 1=hide expected explicit, 2=hide expected and suspected explicit, 3=hide all but expected safe. Default is 0. Source: https://saucenao.com/user.php?page=search-api

And I think it should be pretty easy to implement it on the library, because it's just one more URL parameter to add

sr229 commented 7 months ago

I'll look into it.