mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[GH-ISSUE #64] Autocomplete - would be nice [ 2nd edition ] #40
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#40
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 @elvirmuslic on GitHub (May 19, 2020).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/64
Originally assigned to: @benbusby on GitHub.
As mentioned by user @gripped
The following API works really well in terms of autocomplete and I haven't found any limits to it YET.
https://github.com/asciimoo/searx/blob/master/searx/autocomplete.py
Might be worth a look ;) Doesn't look that complex but then I can't program.
Here would be an example of implementing the autocomplete.
This is from Quora by: Michael Staniek Thank you!
There is no auth key or token, should work pretty well I will try to spam it for a little bit to see if there are limits.
@elvirmuslic commented on GitHub (May 19, 2020):
I have run 1000 iterations ( queries ) in 2 minutes and 43 seconds.
Everything works perfectly, the API doesn't even throttle. In my example I ran ~6 queries a second.
Here is the log, https://pastebin.com/q5SNLxXV
@benbusby commented on GitHub (May 19, 2020):
Wow, I’m kinda shocked. I expected there to at least require an API key, if not a monthly subscription or something.
I’ll work on implementing this soon.
@elvirmuslic commented on GitHub (May 19, 2020):
Yea mee too, there is the code in their github u can just copy paste.
Where @gripped gave you the link,
https://github.com/asciimoo/searx/blob/master/searx/autocomplete.py
On Tue, 19 May 2020, 17:46 Ben Busby, notifications@github.com wrote: