benbusby / whoogle-search

A self-hosted, ad-free, privacy-respecting metasearch engine
https://pypi.org/project/whoogle-search/
MIT License
9.62k stars 949 forks source link

[FEATURE] Block results from useless websites #97

Closed grigsby closed 3 years ago

grigsby commented 4 years ago

Describe the feature you'd like to see added The ability to maintain a blocklist of websites you never want to see results from. Inspired by browser add-ons such as Unpinterested! and uBlacklist that allow you to block search results from (e.g.) Pinterest.

Describe which parts of the project this would modify (front end/back end/configuration/etc) Sorry, I don't know.

Additional context Google image search results prominently feature Pinterest, but those results are pretty useless since Pinterest requires creating an account and logging in before being able to view pages. It would be nice to have the ability in Whoogle search to block all results from these types of useless websites. uBlacklist (browser extension) works great when searching directly with Google, but has no effect when searches are proxied through Whoogle.

dmytro-shchurov commented 4 years ago

This would be great. Google is full of Q&A websites, that display Google's ads after each 10 rows of text, and block accessing their sites without accepting marketing cookies.

glitsj16 commented 3 years ago

This would be an awesome feature indeed. I've been experimenting with addons like uBlacklist and with client-side javascripts like this one. Up to a point those tend to work, but they all tend to break very often too. IMO the most reliable and resource-friendly way to implement this is by using the existing search operators, especially -site:foo. That would avoid any overhead caused by potentially having to soup a lot of stuff out of a search resultset. If anyone knows how to add such a string to the search query in the whoogle code base, that would be golden!