searx_ynh/conf/settings.yml

265 lines
6.0 KiB
YAML
Raw Normal View History

2014-05-10 12:10:52 +02:00
server:
port : 8888
secret_key : "ultrasecretkey" # change this!
2014-12-01 12:26:38 +01:00
debug : False # Debug mode, only for development
2014-05-10 12:10:52 +02:00
request_timeout : 2.0 # seconds
2014-12-01 12:26:38 +01:00
base_url : ynhbaseurl # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
2015-02-09 13:32:24 +01:00
themes_path : "" # Custom ui themes path - leave it blank if you didn't change
2014-12-01 12:34:29 +01:00
default_theme : oscar # ui theme
2014-12-01 12:26:38 +01:00
https_rewrite : True # Force rewrite result urls. See searx/https_rewrite.py
useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
2015-02-09 13:32:24 +01:00
image_proxy : False # Proxying image results through searx
default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
2014-05-10 12:10:52 +02:00
engines:
- name : wikipedia
2014-12-01 12:26:38 +01:00
engine : mediawiki
2014-05-10 12:10:52 +02:00
shortcut : wp
2014-12-01 12:26:38 +01:00
base_url : 'https://{language}.wikipedia.org/'
number_of_results : 1
2014-05-10 12:10:52 +02:00
- name : bing
engine : bing
locale : en-US
shortcut : bi
2014-12-01 12:26:38 +01:00
- name : bing images
engine : bing_images
locale : en-US
shortcut : bii
2014-05-10 12:10:52 +02:00
- name : bing news
engine : bing_news
locale : en-US
shortcut : bin
2015-02-09 13:32:24 +01:00
- name : btdigg
engine : btdigg
shortcut : bt
2014-05-10 12:10:52 +02:00
- name : currency
engine : currency_convert
categories : general
shortcut : cc
2015-02-09 13:32:24 +01:00
2015-01-13 16:50:36 +01:00
- name : deezer
engine : deezer
shortcut : dz
2014-05-10 12:10:52 +02:00
- name : deviantart
engine : deviantart
shortcut : da
timeout: 3.0
- name : ddg definitions
engine : duckduckgo_definitions
shortcut : ddd
2015-02-09 13:32:24 +01:00
2015-01-13 16:50:36 +01:00
- name : digg
engine : digg
shortcut : dg
2014-05-10 12:10:52 +02:00
2014-12-01 12:26:38 +01:00
- name : wikidata
engine : wikidata
shortcut : wd
2014-05-10 12:10:52 +02:00
- name : duckduckgo
engine : duckduckgo
shortcut : ddg
2014-12-01 12:26:38 +01:00
# api-key required: http://www.faroo.com/hp/api/api.html#key
# - name : faroo
# engine : faroo
# shortcut : fa
# api_key : 'apikey' # required!
# down - website is under criminal investigation by the UK
# - name : filecrop
# engine : filecrop
# categories : files
# shortcut : fc
2015-02-09 13:32:24 +01:00
2015-01-13 16:50:36 +01:00
- name : 500px
2015-02-09 13:32:24 +01:00
engine : www500px
2015-01-13 16:50:36 +01:00
shortcut : px
2014-05-10 12:10:52 +02:00
2015-02-09 13:32:24 +01:00
- name : 1x
engine : www1x
shortcut : 1x
disabled : True
2014-05-10 12:10:52 +02:00
- name : flickr
categories : images
shortcut : fl
2015-01-13 16:50:36 +01:00
# You can use the engine using the official stable API, but you need an API key
# See : https://www.flickr.com/services/apps/create/
# engine : flickr
# api_key: 'apikey' # required!
# Or you can use the html non-stable engine, activated by default
2015-02-09 13:32:24 +01:00
engine : flickr_noapi
2014-05-10 12:10:52 +02:00
2014-12-01 12:26:38 +01:00
- name : general-file
engine : generalfile
shortcut : gf
2015-02-09 13:32:24 +01:00
disabled : True
2014-12-01 12:26:38 +01:00
2014-05-10 12:10:52 +02:00
- 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
2015-01-13 16:50:36 +01:00
- name : google play apps
engine : xpath
search_url : https://play.google.com/store/search?q={query}&c=apps
url_xpath : //a[@class="title"]/@href
title_xpath : //a[@class="title"]
content_xpath : //a[@class="subtitle"]
categories : files
shortcut : gpa
2015-02-09 13:32:24 +01:00
disabled : True
2015-01-13 16:50:36 +01:00
- name : google play movies
engine : xpath
search_url : https://play.google.com/store/search?q={query}&c=movies
url_xpath : //a[@class="title"]/@href
title_xpath : //a[@class="title"]
content_xpath : //a[@class="subtitle"]
categories : videos
shortcut : gpm
2015-02-09 13:32:24 +01:00
disabled : True
2015-01-13 16:50:36 +01:00
- name : google play music
engine : xpath
search_url : https://play.google.com/store/search?q={query}&c=music
url_xpath : //a[@class="title"]/@href
title_xpath : //a[@class="title"]
content_xpath : //a[@class="subtitle"]
categories : music
shortcut : gps
2015-02-09 13:32:24 +01:00
disabled : True
- name : mixcloud
engine : mixcloud
shortcut : mc
2014-12-01 12:26:38 +01:00
- name : openstreetmap
engine : openstreetmap
shortcut : osm
2015-01-13 16:50:36 +01:00
- name : photon
engine : photon
shortcut : ph
2015-02-09 13:32:24 +01:00
- name : piratebay
engine : piratebay
shortcut : tpb
2015-01-13 16:50:36 +01:00
- name : kickass
engine : kickass
shortcut : ka
2014-05-10 12:10:52 +02:00
- name : soundcloud
engine : soundcloud
shortcut : sc
- name : stackoverflow
engine : stackoverflow
shortcut : st
2015-02-09 13:32:24 +01:00
2015-01-13 16:50:36 +01:00
- name : searchcode doc
engine : searchcode_doc
shortcut : scd
2015-02-09 13:32:24 +01:00
2015-01-13 16:50:36 +01:00
- name : searchcode code
engine : searchcode_code
shortcut : scc
2015-02-09 13:32:24 +01:00
disabled : True
2015-01-13 16:50:36 +01:00
- name : subtitleseeker
engine : subtitleseeker
shortcut : ss
# The language is an option. You can put any language written in english
# Examples : English, French, German, Hungarian, Chinese...
# language : English
2014-05-10 12:10:52 +02:00
- name : startpage
engine : startpage
shortcut : sp
# +30% page load time
2014-05-27 12:13:54 +02:00
# - name : ixquick
# engine : startpage
# base_url : 'https://www.ixquick.com/'
# search_url : 'https://www.ixquick.com/do/search'
2014-05-10 12:10:52 +02:00
- name : twitter
engine : twitter
shortcut : tw
# maybe in a fun category
2014-05-27 12:13:54 +02:00
# - name : uncyclopedia
# engine : mediawiki
# shortcut : unc
2014-12-01 12:26:38 +01:00
# base_url : https://uncyclopedia.wikia.com/
# number_of_results : 5
2014-05-10 12:10:52 +02:00
# tmp suspended - too slow, too many errors
2014-05-27 12:13:54 +02:00
# - 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
2014-05-10 12:10:52 +02:00
- 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
2014-12-01 12:26:38 +01:00
locale : en-US
2014-05-10 12:10:52 +02:00
shortcut : vm
2014-12-01 12:26:38 +01:00
# - name : yacy
# engine : yacy
# shortcut : ya
# base_url : 'http://localhost:8090'
# number_of_results : 5
2015-02-09 13:32:24 +01:00
# timeout : 3.0
2014-12-01 12:26:38 +01:00
2014-05-10 12:10:52 +02:00
locales:
en : English
de : Deutsch
hu : Magyar
fr : Français
es : Español
it : Italiano
nl : Nederlands
2014-12-01 12:26:38 +01:00
ja : 日本語 (Japanese)
2015-01-13 16:50:36 +01:00
tr : Türkçe
2015-02-09 13:32:24 +01:00
ru : Russian