summaryrefslogtreecommitdiff
path: root/searx/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/utils.py')
-rw-r--r--searx/utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/utils.py b/searx/utils.py
index a9ece355a..28e42b272 100644
--- a/searx/utils.py
+++ b/searx/utils.py
@@ -20,6 +20,9 @@ def gen_useragent():
return ua.format(os=choice(ua_os), version=choice(ua_versions))
+def searx_useragent():
+ return 'searx'
+
def highlight_content(content, query):
if not content: