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

update_firefox_version.py: update user agent signature

The user agent from Windows is
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox#windows
This commit is contained in:
Alexandre Flament 2021-12-16 23:10:39 +01:00 committed by GitHub
parent 6bb6f7ffc1
commit 56e6d19b48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ NORMAL_REGEX = re.compile('^[0-9]+\.[0-9](\.[0-9])?$')
# #
useragents = { useragents = {
"versions": (), "versions": (),
"os": ('Windows NT 10.0; WOW64', "os": ('Windows NT 10.0; Win64; x64',
'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}"
} }