1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-04-24 20:50:02 +00:00

Use format str for search engine queries

Although the current list of queries is only 2 elements ("time" and
"weather"), this allows searches for Whoogle and Searx to be slightly
more random, and potentially avoid any issues with their parent engine
rate limiting them.
This commit is contained in:
Ben Busby 2021-11-29 16:25:00 -07:00
parent 17f83649c1
commit 04388fcf3c
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1
5 changed files with 48 additions and 27 deletions

View file

@ -114,7 +114,7 @@
},
{
"type": "whoogle",
"test_url": "/search?q=github",
"test_url": "/search?q=<%=query%>",
"fallback": "https://search.garudalinux.org",
"instances": [
"https://search.albony.xyz",
@ -131,7 +131,7 @@
},
{
"type": "searx",
"test_url": "/search?q=github",
"test_url": "/search?q=<%=query%>",
"fallback": "https://searx.be",
"instances": [
"https://anon.sx",