From 066bd916bf0c0344c978d2ea46cf9e9960841a61 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Sun, 28 May 2017 15:46:45 +0200 Subject: [mod] fetch firefox versions in a standalone script --- searx/data/useragents.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 searx/data/useragents.json (limited to 'searx/data/useragents.json') diff --git a/searx/data/useragents.json b/searx/data/useragents.json new file mode 100644 index 000000000..ba80ce885 --- /dev/null +++ b/searx/data/useragents.json @@ -0,0 +1,15 @@ +{ + "os": [ + "Windows NT 10; WOW64", + "X11; Linux x86_64" + ], + "ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}", + "versions": [ + "59.0.2", + "59.0.1", + "59.0", + "58.0.2", + "58.0.1", + "58.0" + ] +} \ No newline at end of file -- cgit v1.2.3 From 50c836864a9a7a765561d886b11f44d8cea0bce9 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 5 Aug 2018 10:55:42 +0200 Subject: fetch_firefox_version.py : compatible with Python 3 and minor fixes. --- searx/data/useragents.json | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'searx/data/useragents.json') diff --git a/searx/data/useragents.json b/searx/data/useragents.json index ba80ce885..850bc418a 100644 --- a/searx/data/useragents.json +++ b/searx/data/useragents.json @@ -1,15 +1,14 @@ { + "ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}", + "versions": [ + "61.0.1", + "61.0", + "60.0.2", + "60.0.1", + "60.0" + ], "os": [ - "Windows NT 10; WOW64", + "Windows NT 10; WOW64", "X11; Linux x86_64" - ], - "ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}", - "versions": [ - "59.0.2", - "59.0.1", - "59.0", - "58.0.2", - "58.0.1", - "58.0" ] } \ No newline at end of file -- cgit v1.2.3