v0.17.1: fix msg-toolbar visibility, add follow_redirects to SearXNG query

This commit is contained in:
gramps
2026-07-13 08:15:57 -07:00
parent f16bef4671
commit dcb73945e0
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -117,6 +117,7 @@ async def query_searxng(query: str, max_results: int = 5) -> list:
f"{SEARXNG_BASE}/search",
params={"q": query, "format": "json", "categories": "general"},
timeout=10.0,
follow_redirects=True,
)
if resp.status_code == 200:
data = resp.json()