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 tag category search finds no images #707

Open marcbenten opened 1 week ago

marcbenten commented 1 week ago

Version of Variety 0.8.12

Describe the bug Searching for 'Cities' category (c:43) returns error that no images were found Search URL: https://wallhaven.cc/search?q=c%3A43

Note: the actual search on Wallhaven finds 21,835 wallpapers.

Context I recently learned that we can filter/search by tag categories. See #post-22591. So, I have been trying it out with very inconsistent results. Half the category searches get no results, and the rest get wrong results. I figure no results is the more obvious error, and easier to reproduce. (I'm assuming that the actual search on Wallhaven gets the expected results, and putting the same URL as the image source on Variety should give the same results.)

To Reproduce

  1. Add new Wallhaven image source: https://wallhaven.cc/search?q=c%3A43

Attach Variety's log file

variety.log

The log shows opening and closing the preferences, but doesn't really show what happened inbetween. However, I got a screenshot off terminal that didn't get captured in the log. Don't know if it helps.

Screenshot from 2024-06-27 01-55-28

Desktop environment and version Gnome 46 Wayland

OS name and version Ubuntu 24.04 LTS \n \l

PRETTY_NAME="Ubuntu 24.04 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=noble LOGO=ubuntu-logo

Screenshots

Screenshot from 2024-06-26 19-12-36