Browse Source

[fix] update user agent versions

this fixes duckduckgo error response
Marc Abonce Seguin 6 years ago
parent
commit
c7000cd1df
1 changed files with 9 additions and 8 deletions
  1. 9 8
      searx/utils.py

+ 9 - 8
searx/utils.py

@@ -39,14 +39,15 @@ else:
 
 
 logger = logger.getChild('utils')
 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',
 ua_os = ('Windows NT 6.3; WOW64',
          'X11; Linux x86_64',
          'X11; Linux x86_64',