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

This commit is contained in:
asciimoo 2014-02-18 15:56:34 +01:00
parent 84fc0c0e6d
commit 6f86b96a35
1 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,7 @@ server:
port : 8888 port : 8888
secret_key : "ultrasecretkey" # change this! secret_key : "ultrasecretkey" # change this!
debug : True debug : True
request_timeout : 1.8 # seconds request_timeout : 2.0 # seconds
base_url : False base_url : False
engines: engines:
@ -93,6 +93,12 @@ engines:
categories : social media categories : social media
shortcut : tw shortcut : tw
- name : uncyclopedia
engine : mediawiki
categories : general
shortcut : unc
url : https://uncyclopedia.wikia.com/
- name : urbandictionary - name : urbandictionary
engine : xpath engine : xpath
search_url : http://www.urbandictionary.com/define.php?term={query} search_url : http://www.urbandictionary.com/define.php?term={query}