varietywalls / variety

Wallpaper downloader and manager for Linux systems
http://peterlevi.com/variety
GNU General Public License v3.0
1.12k stars 137 forks source link

Wallhaven tags do not always filter out NSFW images #684

Closed cachandlerdev closed 3 months ago

cachandlerdev commented 4 months ago

Version of Variety 0.8.5

Describe the bug If I select the #nature tag on Wallhaven (see https://wallhaven.cc/tag/37), NSFW images are sometimes shown.

Context The first time I saw this happen was when I turned on the PC this morning and Variety switched to this NSFW image listed under the "nature" category on Wallhaven. Since this image is marked as "Sketchy," I'm not sure why it was downloaded in the first place, as I thought there would be some kind of setting switched on by default to ignore NSFW images.

To Reproduce

I'm having trouble reproducing the behavior right now because I immediately deleted that Wallhaven source directory from Variety, but it should be possible to see by selecting various tags urls (the format was https://wallhaven.cc/tag/37) that happen to contain NSFW images.

Attach Variety's log file Unfortunately, I have had trouble reproducing the behavior because I immediately deleted the image source directory after the image was displayed when I turned on the computer.

Desktop environment and version

Linux Mint 21.3, Cinnamon 6.0.4

OS name and version

Linux Mint 21.3

Screenshots

This was the image that was displayed upon turning on my computer.

hasecilu commented 3 months ago

First, that is not really NFSW, you need to use a API key to get that kind of categories. Wallhaven allows filtering tags so you can allow and deny terms. For example I use: +nature -woman -people -supreme to get nature wp.

cachandlerdev commented 3 months ago

Hmm, perhaps I will try that. As for it not being NSFW, I would argue that images of scantily clad women (or in some cases, lacking clothing whatsoever on that website) is definitely something that I wouldn't want to display in a work environment.

peterlevi commented 3 months ago

If you configure just search keywords, Variety uses the most conservative filter for purity (just "SFW"), When you have defined a full URL, Variety shows whatever Wallhaven is serving. In Wallhaven you can customize the Purity level before pasting the URL in Variety. Closing.