瀏覽代碼

[enh] user agent string update

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

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

@@ -11,10 +11,16 @@ import csv
11 11
 import os
12 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 20
 ua_os = ('Windows NT 6.3; WOW64',
16 21
          'X11; Linux x86_64',
17 22
          'X11; Linux x86')
23
+
18 24
 ua = "Mozilla/5.0 ({os}) Gecko/20100101 Firefox/{version}"
19 25
 
20 26