[GH-ISSUE #815] Results filtration, is that possible? #509

Closed
opened 2026-02-25 20:35:55 +03:00 by kerem · 2 comments
Owner

Originally created by @prp-e on GitHub (Jul 13, 2022).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/815

Hello.
I'm just curious if it is possible to filter results from certain websites, for both white listing or black listing. For example, just limiting the results to my website or searching everywhere except my website.
Also, I'm asking this in code level, not search tricks.
Thanks.

Originally created by @prp-e on GitHub (Jul 13, 2022). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/815 Hello. I'm just curious if it is possible to filter results from certain websites, for both white listing or black listing. For example, just limiting the results to my website or searching everywhere except my website. Also, I'm asking this in code level, not search tricks. Thanks.
kerem closed this issue 2026-02-25 20:35:55 +03:00
Author
Owner

@DUOLabs333 commented on GitHub (Jul 23, 2022):

For blocking, you can do WHOOGLE_CONFIG_BLOCK. For white listing, you can use "site:www.example.com".

<!-- gh-comment-id:1193037867 --> @DUOLabs333 commented on GitHub (Jul 23, 2022): For blocking, you can do `WHOOGLE_CONFIG_BLOCK`. For white listing, you can use "site:www.example.com".
Author
Owner

@benbusby commented on GitHub (Aug 1, 2022):

Yes, with WHOOGLE_CONFIG_BLOCK you can block individual websites with a comma separated list of domains. To only search your website without using the search, that isn't something available with an environment variable or other setting, but you could modify the search code to only search your website. The file request.py would be the one to modify, which you could hardcode with the "site:" thing that @DUOLabs333 mentioned.

<!-- gh-comment-id:1201525940 --> @benbusby commented on GitHub (Aug 1, 2022): Yes, with `WHOOGLE_CONFIG_BLOCK` you can block individual websites with a comma separated list of domains. To only search your website without using the search, that isn't something available with an environment variable or other setting, but you could modify the search code to only search your website. The file `request.py` would be the one to modify, which you could hardcode with the "site:<domain>" thing that @DUOLabs333 mentioned.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#509
No description provided.