mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 04:05:57 +03:00
[GH-ISSUE #1088] [QUESTION] How does whoogle get quick answers from google? #662
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#662
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 @amogusussy on GitHub (Oct 23, 2023).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/1088
I help with maintaining the Extravi/araa-search repo, and someone's requested a quick answers feature. For example, if you searched 'who founded google', it'd return a list of the two founders of google. I want to try and implement a feature like this in the araa-search project.
How does whoogle do this?
@benbusby commented on GitHub (Nov 1, 2023):
Whoogle doesn't do anything special for this, it's just using Google's javascript-free search endpoint (
https://www.google.com/search?gbv=1&q=<query>) to fetch results. When the results contain the quick answers feature, it's only because it's being returned in the response body from Google. You could use the same endpoint and scrape the first result to see if it's in that unique format.Weirdly enough, I actually haven't been getting those "quick answer" results from Whoogle lately, so I'm guessing Google is changing something about their results for that endpoint now.