diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2023-12-04 08:18:10 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-12-23 07:48:38 +0100 |
commit | 3665b32affe6fc7d7d4e4d8f5c119b303d38f2f1 (patch) | |
tree | 619a1e8b370f5e1032c12285bdb32f98f3f9a246 /searxng_extra | |
parent | 518dd97c8943f5b0e659b8ac1911a89e70eede6e (diff) | |
download | searxng-3665b32affe6fc7d7d4e4d8f5c119b303d38f2f1.tar.gz searxng-3665b32affe6fc7d7d4e4d8f5c119b303d38f2f1.zip |
Revert "[fix] update user agent"
This reverts commit 3c6549a17f886b90a8e700810f9e1aea86581966.
Related:
- https://github.com/searxng/searxng/pull/2826
Diffstat (limited to 'searxng_extra')
-rwxr-xr-x | searxng_extra/update/update_firefox_version.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/searxng_extra/update/update_firefox_version.py b/searxng_extra/update/update_firefox_version.py index 56758b5e8..2e730764a 100755 --- a/searxng_extra/update/update_firefox_version.py +++ b/searxng_extra/update/update_firefox_version.py @@ -32,7 +32,7 @@ useragents = { "versions": (), "os": ('Windows NT 10.0; Win64; x64', 'X11; Linux x86_64'), - "ua": "Mozilla/5.0 ({os}; rv:109.0) Gecko/20100101 Firefox/{version}", + "ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}", # fmt: on } @@ -64,12 +64,6 @@ def fetch_firefox_last_versions(): major_last = versions[0].major major_list = (major_last, major_last - 1) for version in versions: - msg = ( - "Please check if the rv segment of the user agent is still frozen at 109.0: " - "https://bugzilla.mozilla.org/show_bug.cgi?id=1805967" - ) - assert version.major != 120, msg - major_current = version.major minor_current = version.minor if major_current in major_list: |