Rawns / Reddit-Wallpaper-Changer

Reddit Wallpaper Changer
MIT License
120 stars 51 forks source link

[SOLVED]Not working when it's set to "Top" or "Hot" #69

Closed ghost closed 7 years ago

ghost commented 7 years ago

EDIT: It's because there where no 1920x1080 wallpapers posted on r/EarthPorn today. I set it on "Top all time" instead of "Top today" and it works now

But when it's set on "Grab Wallpaper by: Random" it works.

Here is my log when it's set on "Top today":

2017-10-07 10:57:09 AM - N - INFORMATION: The background worker started successfully and is looking for a wallpaper. 2017-10-07 10:57:09 AM - N - INFORMATION: Sellected sub to search: EarthPorn 2017-10-07 10:57:09 AM - N - INFORMATION: Full URL Search String: http://www.reddit.com/r/EarthPorn/search.json?q=(title%3a1920x1080+OR+flair%3a+1920x1080)+self%3Ano+((url%3A.png+OR+url%3A.jpg+OR+url%3A.jpeg)+OR+(url%3Aimgur.png+OR+url%3Aimgur.jpg+OR+url%3Aimgur.jpeg)+OR+(url%3Adeviantart))&sort=top&restrict_sr=on&t=day 2017-10-07 10:57:09 AM - N - INFORMATION: Searching Reddit for a wallpaper. 2017-10-07 10:57:09 AM - N - INFORMATION: No search results, trying to change wallpaper again. 2017-10-07 10:57:09 AM - N - INFORMATION: Changing wallpaper. 2017-10-07 10:57:09 AM - N - INFORMATION: The background worker started successfully and is looking for a wallpaper. 2017-10-07 10:57:09 AM - N - WARNING: No results after 50 attempts. Disabeling Reddit Wallpaper Changer.