forked from zaclys/searxng
52ad49ccba
* writing general mediawiki-engine * using this engine for wikipedia * using this engine for uncyclopedia
154 lines
2.9 KiB
YAML
154 lines
2.9 KiB
YAML
server:
|
|
port : 8888
|
|
secret_key : "ultrasecretkey" # change this!
|
|
debug : False
|
|
request_timeout : 2.0 # seconds
|
|
base_url : False
|
|
themes_path : ""
|
|
default_theme : default
|
|
https_rewrite : True
|
|
|
|
engines:
|
|
- name : wikipedia
|
|
engine : mediawiki
|
|
shortcut : wp
|
|
base_url : 'https://{language}.wikipedia.org/'
|
|
number_of_results : 1
|
|
|
|
- name : bing
|
|
engine : bing
|
|
locale : en-US
|
|
shortcut : bi
|
|
|
|
- name : bing images
|
|
engine : bing_images
|
|
locale : en-US
|
|
shortcut : bii
|
|
|
|
- name : bing news
|
|
engine : bing_news
|
|
locale : en-US
|
|
shortcut : bin
|
|
|
|
- name : currency
|
|
engine : currency_convert
|
|
categories : general
|
|
shortcut : cc
|
|
|
|
- name : deviantart
|
|
engine : deviantart
|
|
shortcut : da
|
|
timeout: 3.0
|
|
|
|
- name : ddg definitions
|
|
engine : duckduckgo_definitions
|
|
shortcut : ddd
|
|
|
|
- name : duckduckgo
|
|
engine : duckduckgo
|
|
shortcut : ddg
|
|
|
|
# down - website is under criminal investigation by the UK
|
|
# - name : filecrop
|
|
# engine : filecrop
|
|
# categories : files
|
|
# shortcut : fc
|
|
|
|
- name : flickr
|
|
engine : flickr
|
|
categories : images
|
|
shortcut : fl
|
|
timeout: 3.0
|
|
|
|
- name : general-file
|
|
engine : generalfile
|
|
shortcut : gf
|
|
|
|
- name : github
|
|
engine : github
|
|
shortcut : gh
|
|
|
|
- name : google
|
|
engine : google
|
|
shortcut : go
|
|
|
|
- name : google images
|
|
engine : google_images
|
|
shortcut : goi
|
|
|
|
- name : google news
|
|
engine : google_news
|
|
shortcut : gon
|
|
|
|
- name : piratebay
|
|
engine : piratebay
|
|
shortcut : tpb
|
|
|
|
- name : soundcloud
|
|
engine : soundcloud
|
|
shortcut : sc
|
|
|
|
- name : stackoverflow
|
|
engine : stackoverflow
|
|
shortcut : st
|
|
|
|
- name : startpage
|
|
engine : startpage
|
|
shortcut : sp
|
|
|
|
# +30% page load time
|
|
# - name : ixquick
|
|
# engine : startpage
|
|
# base_url : 'https://www.ixquick.com/'
|
|
# search_url : 'https://www.ixquick.com/do/search'
|
|
|
|
- name : twitter
|
|
engine : twitter
|
|
shortcut : tw
|
|
|
|
# maybe in a fun category
|
|
# - name : uncyclopedia
|
|
# engine : mediawiki
|
|
# shortcut : unc
|
|
# base_url : https://uncyclopedia.wikia.com/
|
|
# number_of_results : 5
|
|
|
|
# tmp suspended - too slow, too many errors
|
|
# - name : urbandictionary
|
|
# engine : xpath
|
|
# search_url : http://www.urbandictionary.com/define.php?term={query}
|
|
# url_xpath : //div[@class="word"]//a/@href
|
|
# title_xpath : //div[@class="word"]//a
|
|
# content_xpath : //div[@class="definition"]
|
|
# shortcut : ud
|
|
|
|
- name : yahoo
|
|
engine : yahoo
|
|
shortcut : yh
|
|
|
|
- name : yahoo news
|
|
engine : yahoo_news
|
|
shortcut : yhn
|
|
|
|
- name : youtube
|
|
engine : youtube
|
|
shortcut : yt
|
|
|
|
- name : dailymotion
|
|
engine : dailymotion
|
|
shortcut : dm
|
|
|
|
- name : vimeo
|
|
engine : vimeo
|
|
locale : en-US
|
|
shortcut : vm
|
|
|
|
locales:
|
|
en : English
|
|
de : Deutsch
|
|
hu : Magyar
|
|
fr : Français
|
|
es : Español
|
|
it : Italiano
|
|
nl : Nederlands
|