diff options
author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-10-17 12:34:51 +0200 |
---|---|---|
committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-10-17 12:42:16 +0200 |
commit | 8af2184a45d28105876f1e5529c829de3f36a428 (patch) | |
tree | 5a16100a2b919ceaf973843de163ccc9ca1e3f05 /searx/utils.py | |
parent | bd2db71fa6921a757ff5df559535092f45010652 (diff) | |
download | searxng-8af2184a45d28105876f1e5529c829de3f36a428.tar.gz searxng-8af2184a45d28105876f1e5529c829de3f36a428.zip |
add faroo engine support
Diffstat (limited to 'searx/utils.py')
-rw-r--r-- | searx/utils.py | 3 |
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: |