[GH-ISSUE #645] [BUG] If Google does not include a term in search result, it shows up as "Must include: <term> - - - - " #410

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

Originally created by @DUOLabs333 on GitHub (Feb 7, 2022).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/645

Describe the bug
If you have a search term, and Google adds "Must Include", it shows the excluded term with a bunch of dashes (probably because of the blocked sites config)

To Reproduce
Steps to reproduce the behavior:

  1. Have blocked sites
  2. Search for, for example, "harvard wifi dns"
  3. Scroll down to "Register a device on the Harvard University wireless network - IT Help"
  4. See error

Deployment Method

  • Heroku (one-click deploy)
  • Docker
  • run executable
  • pip/pipx
  • Other: [describe setup]

Version of Whoogle Search

  • Latest build from [source] (i.e. GitHub, Docker Hub, pip, etc)
  • Version [version number]
  • Not sure

Desktop (please complete the following information):

  • OS: [e.g. iOS] Linux
  • Browser [e.g. chrome, safari] Firefox
  • Version [e.g. 22] 88

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.
image
Probably because of clean_query issues -- I'll get started on this after the pull requests get merged/reviewed.

Originally created by @DUOLabs333 on GitHub (Feb 7, 2022). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/645 **Describe the bug** If you have a search term, and Google adds "Must Include", it shows the excluded term with a bunch of dashes (probably because of the blocked sites config) **To Reproduce** Steps to reproduce the behavior: 1. Have blocked sites 2. Search for, for example, "harvard wifi dns" 3. Scroll down to "Register a device on the Harvard University wireless network - IT Help" 4. See error **Deployment Method** - [ ] Heroku (one-click deploy) - [ ] Docker - [x] `run` executable - [ ] pip/pipx - [ ] Other: [describe setup] **Version of Whoogle Search** - [x] Latest build from [source] (i.e. GitHub, Docker Hub, pip, etc) - [ ] Version [version number] - [ ] Not sure **Desktop (please complete the following information):** - OS: [e.g. iOS] Linux - Browser [e.g. chrome, safari] Firefox - Version [e.g. 22] 88 **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here. ![image](https://user-images.githubusercontent.com/49244768/152816180-fd5e4c11-3aec-4bd0-bae8-8858ec08f386.png) Probably because of `clean_query` issues -- I'll get started on this after the pull requests get merged/reviewed.
kerem 2026-02-25 20:35:41 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@DUOLabs333 commented on GitHub (Feb 8, 2022):

Update: It was not that -- I have no idea what causes this.

<!-- gh-comment-id:1033079462 --> @DUOLabs333 commented on GitHub (Feb 8, 2022): Update: It was not that -- I have no idea what causes this.
Author
Owner

@DUOLabs333 commented on GitHub (Mar 18, 2022):

It turns out that the sequence of dashes is from the response itself, before any modifying. I even tried it out myself on Google, and that's exactly what happened.

<!-- gh-comment-id:1071911885 --> @DUOLabs333 commented on GitHub (Mar 18, 2022): It turns out that the sequence of dashes is from the response itself, before any modifying. I even tried it out myself on Google, and that's exactly what happened.
Author
Owner

@DUOLabs333 commented on GitHub (Mar 18, 2022):

-inurl: doesn't have this problem, but it's possible that some sites get excluded by this.

<!-- gh-comment-id:1072812226 --> @DUOLabs333 commented on GitHub (Mar 18, 2022): `-inurl:` doesn't have this problem, but it's possible that some sites get excluded by this.
Author
Owner

@DUOLabs333 commented on GitHub (May 16, 2022):

If you put the -inurl: before the search terms, this doesn't happen, though this might break certain functions (like clean_query).

<!-- gh-comment-id:1127103195 --> @DUOLabs333 commented on GitHub (May 16, 2022): If you put the `-inurl:` before the search terms, this doesn't happen, though this might break certain functions (like `clean_query`).
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#410
No description provided.