SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] setting category cookie expiration to 4 weeks
asciimoo863d136dddc2
diff --git a/searx/webapp.py b/searx/webapp.pyindex b7e2a4674..2d48f2323 100644--- a/searx/webapp.py+++ b/searx/webapp.py@@ -152,7 +152,8 @@ def preferences():selected_categories.append(category)if selected_categories:resp = make_response(redirect('/'))- resp.set_cookie('categories', ','.join(selected_categories))+ # cookie max age: 4 weeks+ resp.set_cookie('categories', ','.join(selected_categories), max_age=60*60*24*7*4)return respreturn render('preferences.html')