From 56e6d19b4880aac1d1b8e95bfcd55812da05ecd1 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Thu, 16 Dec 2021 23:10:39 +0100 Subject: [PATCH] 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 --- searxng_extra/update/update_firefox_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" }