diff options
author | Alexandre Flament <alex@al-f.net> | 2021-03-18 19:59:01 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-04-10 15:38:33 +0200 |
commit | eaa694fb7d0e47b943bc6d6edb6cb6a40ab2d85e (patch) | |
tree | 024786c8a7003be24bbc566cb8c8e734a143f99d /searx/utils.py | |
parent | 111180705b6f3b142732eb6325de1346f6372828 (diff) | |
download | searxng-eaa694fb7d0e47b943bc6d6edb6cb6a40ab2d85e.tar.gz searxng-eaa694fb7d0e47b943bc6d6edb6cb6a40ab2d85e.zip |
[enh] replace requests by httpx
Diffstat (limited to 'searx/utils.py')
-rw-r--r-- | searx/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/utils.py b/searx/utils.py index 3172ad8f3..55a386bd5 100644 --- a/searx/utils.py +++ b/searx/utils.py @@ -45,7 +45,7 @@ def searx_useragent(): """Return the searx User Agent""" return 'searx/{searx_version} {suffix}'.format( searx_version=VERSION_STRING, - suffix=settings['outgoing'].get('useragent_suffix', '')) + suffix=settings['outgoing'].get('useragent_suffix', '')).strip() def gen_useragent(os=None): |