logo

searx

Unnamed repository; edit this file 'description' to name the repository.
commit: 8d40445ab81d63cdd0e9ea012ffa792edf849e30
parent: b226e6462b1a8fa18ee670f3f2738145426b6f41
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Tue, 20 May 2014 16:55:49 +0200

[mod] useragent generation

Diffstat:

searx/utils.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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}"