diff options
author | Adam Tauber <asciimoo@gmail.com> | 2014-05-20 16:55:49 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2014-05-20 16:55:49 +0200 |
commit | 8d40445ab81d63cdd0e9ea012ffa792edf849e30 (patch) | |
tree | 2a6e23631eca78b076ebd9004b40c23587fa431e /searx/utils.py | |
parent | b226e6462b1a8fa18ee670f3f2738145426b6f41 (diff) | |
download | searxng-8d40445ab81d63cdd0e9ea012ffa792edf849e30.tar.gz searxng-8d40445ab81d63cdd0e9ea012ffa792edf849e30.zip |
[mod] useragent generation
Diffstat (limited to 'searx/utils.py')
-rw-r--r-- | searx/utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/searx/utils.py b/searx/utils.py index c6f3394c2..b8c7a8c6b 100644 --- a/searx/utils.py +++ b/searx/utils.py @@ -7,7 +7,9 @@ import re from random import choice ua_versions = ('26.0', '27.0', '28.0') -ua_os = ('Windows NT 6.3; WOW64', 'X11; Linux x86_64; rv:26.0') +ua_os = ('Windows NT 6.3; WOW64', + 'X11; Linux x86_64', + 'X11; Linux x86') ua = "Mozilla/5.0 ({os}) Gecko/20100101 Firefox/{version}" |