mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[GH-ISSUE #67] [FEATURE] Ability to disable IPv6 or enable JS when Bot Check #43
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#43
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 @lol7344 on GitHub (May 22, 2020).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/67
Describe the feature you'd like to see added
I am using a hosted VPS, which has both IPv4 and IPv6 enabled.
However, when I run whoogle-search, and try searching anything with it, I get a google spam-bot popup, saying that there's unusual traffic coming from my IP (and I see my VPS' IPv6 IP).
I am however unable to go past this screen, since Whoogle automatically disables JavaScript.
However, if I disable IPv6 system-wide, and restart whoogle, I can succesfully browse the web.
This is probably related to my own VPS hosting provider, doing nasty stuff with shared IPv6s, thus a feature to disable IPv6 (either via command line arg or via the "options" button in the homepage) would add a really nice touch, since not everyone has a working or usable (although enabled) IPv6 address.
Another solution, related to this case scenario, would be to detect if the current page is the spam bot check, and eventually enable the JS captcha script.
@benbusby commented on GitHub (May 22, 2020):
Unfortunately, even if JS was enabled, the Google captcha check won't work due to their same host origin enforcement. Without a
*.google.comhost, the bot check throws an error with something along the lines ofinvalid hostname for captcha: <your whoogle url>.I'll look into
pycurloptions that would allow enforcing only IPv4 requests though, I like that idea!@benbusby commented on GitHub (Oct 26, 2020):
I still like this idea, but from a cursory glance it doesn't seem like this is possible (or at least not without a hacky solution) using the
requestslibrary, which replaced thepycurlimplementation in the project some time ago.Closing for now, but happy to reopen if there's a clean solution for this that I'm overlooking.