summaryrefslogtreecommitdiff
path: root/searx/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/utils.py')
-rw-r--r--searx/utils.py18
1 files changed, 10 insertions, 8 deletions
diff --git a/searx/utils.py b/searx/utils.py
index eccbaaf19..bd6c3fe2f 100644
--- a/searx/utils.py
+++ b/searx/utils.py
@@ -33,19 +33,21 @@ if sys.version_info[0] == 3:
unichr = chr
unicode = str
IS_PY2 = False
+ basestring = str
else:
IS_PY2 = True
logger = logger.getChild('utils')
-ua_versions = ('40.0',
- '41.0',
- '42.0',
- '43.0',
- '44.0',
- '45.0',
- '46.0',
- '47.0')
+ua_versions = ('52.8.1',
+ '53.0',
+ '54.0',
+ '55.0',
+ '56.0',
+ '57.0',
+ '58.0',
+ '59.0',
+ '60.0.2')
ua_os = ('Windows NT 6.3; WOW64',
'X11; Linux x86_64',