瀏覽代碼

[enh] user agent string update

Adam Tauber 10 年之前
父節點
當前提交
3dfeb73912
共有 1 個檔案被更改,包括 7 行新增1 行删除
  1. 7
    1
      searx/utils.py

+ 7
- 1
searx/utils.py 查看文件

11
 import os
11
 import os
12
 import re
12
 import re
13
 
13
 
14
-ua_versions = ('26.0', '27.0', '28.0')
14
+ua_versions = ('29.0',
15
+               '30.0',
16
+               '31.0',
17
+               '32.0',
18
+               '33.0')
19
+
15
 ua_os = ('Windows NT 6.3; WOW64',
20
 ua_os = ('Windows NT 6.3; WOW64',
16
          'X11; Linux x86_64',
21
          'X11; Linux x86_64',
17
          'X11; Linux x86')
22
          'X11; Linux x86')
23
+
18
 ua = "Mozilla/5.0 ({os}) Gecko/20100101 Firefox/{version}"
24
 ua = "Mozilla/5.0 ({os}) Gecko/20100101 Firefox/{version}"
19
 
25
 
20
 
26