From 8af2184a45d28105876f1e5529c829de3f36a428 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Fri, 17 Oct 2014 12:34:51 +0200 Subject: add faroo engine support --- searx/utils.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'searx/utils.py') 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: -- cgit v1.2.3