diff options
author | Alexandre Flament <alex@al-f.net> | 2021-12-16 23:10:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-16 23:10:39 +0100 |
commit | 56e6d19b4880aac1d1b8e95bfcd55812da05ecd1 (patch) | |
tree | 10cdcaf4e75172ab94b22ac043402aaf84c4a08d | |
parent | 6bb6f7ffc13f4497af02ef4ebee82f4a3b61a1c4 (diff) | |
download | searxng-56e6d19b4880aac1d1b8e95bfcd55812da05ecd1.tar.gz searxng-56e6d19b4880aac1d1b8e95bfcd55812da05ecd1.zip |
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
-rwxr-xr-x | searxng_extra/update/update_firefox_version.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searxng_extra/update/update_firefox_version.py b/searxng_extra/update/update_firefox_version.py index 6a446947c..07bcef7f6 100755 --- a/searxng_extra/update/update_firefox_version.py +++ b/searxng_extra/update/update_firefox_version.py @@ -20,7 +20,7 @@ NORMAL_REGEX = re.compile('^[0-9]+\.[0-9](\.[0-9])?$') # useragents = { "versions": (), - "os": ('Windows NT 10.0; WOW64', + "os": ('Windows NT 10.0; Win64; x64', 'X11; Linux x86_64'), "ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}" } |