mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 04:05:57 +03:00
[GH-ISSUE #815] Results filtration, is that possible? #509
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#509
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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".@benbusby commented on GitHub (Aug 1, 2022):
Yes, with
WHOOGLE_CONFIG_BLOCKyou 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 filerequest.pywould be the one to modify, which you could hardcode with the "site:" thing that @DUOLabs333 mentioned.