Ver código fonte

[mod][enh] default timeout 1.8 -> 2.0sec ++ uncyclopedia engine added

asciimoo 11 anos atrás
pai
commit
6f86b96a35
1 arquivos alterados com 7 adições e 1 exclusões
  1. 7
    1
      searx/settings.yml

+ 7
- 1
searx/settings.yml Ver arquivo

2
     port : 8888
2
     port : 8888
3
     secret_key : "ultrasecretkey" # change this!
3
     secret_key : "ultrasecretkey" # change this!
4
     debug : True
4
     debug : True
5
-    request_timeout : 1.8 # seconds
5
+    request_timeout : 2.0 # seconds
6
     base_url : False
6
     base_url : False
7
 
7
 
8
 engines:
8
 engines:
93
     categories : social media
93
     categories : social media
94
     shortcut : tw
94
     shortcut : tw
95
 
95
 
96
+  - name : uncyclopedia
97
+    engine : mediawiki
98
+    categories : general
99
+    shortcut : unc
100
+    url : https://uncyclopedia.wikia.com/
101
+
96
   - name : urbandictionary
102
   - name : urbandictionary
97
     engine        : xpath
103
     engine        : xpath
98
     search_url    : http://www.urbandictionary.com/define.php?term={query}
104
     search_url    : http://www.urbandictionary.com/define.php?term={query}