1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 20:17:45 +01:00

[fix] ffox useragent: use Windows NT 10.0 and not Windows NT 10

This is an addittion to PR #1934:

  The .0 change really counts on some engines like Bing which seems to allow
  Windows NT 10.0 but not Windows NT 10.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2020-04-22 00:43:42 +02:00
parent ac2b0ffa03
commit 697dd6c6d3

View File

@ -24,7 +24,7 @@ NORMAL_REGEX = re.compile('^[0-9]+\.[0-9](\.[0-9])?$')
# #
useragents = { useragents = {
"versions": (), "versions": (),
"os": ('Windows NT 10; WOW64', "os": ('Windows NT 10.0; WOW64',
'X11; Linux x86_64'), 'X11; Linux x86_64'),
"ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}" "ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}"
} }