1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-05 04:40:11 +01:00
searxng/searx/settings.yml

493 lines
12 KiB
YAML
Raw Normal View History

general:
debug : False # Debug mode, only for development
instance_name : "searx" # displayed name
search:
safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict
autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "wikipedia" - leave blank to turn it off by default
server:
port : 8888
bind_address : "127.0.0.1" # address to listen on
secret_key : "ultrasecretkey" # change this!
2014-09-06 14:17:14 +02:00
base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
image_proxy : False # Proxying image results through searx
ui:
2015-01-16 12:36:33 +01:00
themes_path : "" # Custom ui themes path - leave it blank if you didn't change
default_theme : oscar # ui theme
2015-01-17 20:51:39 +01:00
default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
outgoing: # communication with search engines
request_timeout : 2.0 # seconds
useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
pool_connections : 100 # Number of different hosts
pool_maxsize : 10 # Number of simultaneous requests by host
# uncomment below section if you want to use a proxy
# see http://docs.python-requests.org/en/latest/user/advanced/#proxies
# SOCKS proxies are not supported : see https://github.com/kennethreitz/requests/pull/478
# proxies :
# http : http://127.0.0.1:8080
# https: http://127.0.0.1:8080
2015-02-22 23:24:49 +01:00
# uncomment below section only if you have more than one network interface
# which can be the source of outgoing search requests
# source_ips:
# - 1.1.1.1
# - 1.1.1.2
2015-02-22 23:24:49 +01:00
engines:
2016-03-23 20:57:27 +01:00
- name : arch linux wiki
engine : archlinux
shortcut : al
2016-03-29 16:18:46 +02:00
2016-06-08 23:22:07 +02:00
- name : archive is
engine : xpath
search_url : https://archive.is/{query}
url_xpath : (//div[@class="TEXT-BLOCK"]/a)/@href
title_xpath : (//div[@class="TEXT-BLOCK"]/a)
content_xpath : //div[@class="TEXT-BLOCK"]/ul/li
categories : general
timeout : 7.0
disabled : True
shortcut : ai
- name : base
engine : base
shortcut : bs
2016-03-23 20:57:27 +01:00
- name : wikipedia
engine : wikipedia
2014-02-09 11:16:25 +01:00
shortcut : wp
base_url : 'https://{language}.wikipedia.org/'
- name : bing
engine : bing
2014-01-31 16:05:50 +01:00
shortcut : bi
2014-09-01 14:39:18 +02:00
- name : bing images
engine : bing_images
shortcut : bii
2014-03-04 13:13:16 +01:00
- name : bing news
engine : bing_news
shortcut : bin
2014-03-05 00:37:12 +01:00
2016-03-28 16:08:34 +02:00
- name : bitbucket
engine : xpath
paging : True
search_url : https://bitbucket.org/repo/all/{pageno}?name={query}
url_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]/@href
title_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]
content_xpath : //article[@class="repo-summary"]/p
categories : it
timeout : 4.0
disabled : True
shortcut : bb
2015-01-21 18:02:29 +01:00
- name : btdigg
engine : btdigg
shortcut : bt
- name : currency
engine : currency_convert
categories : general
2014-01-31 16:05:50 +01:00
shortcut : cc
2015-01-16 12:36:33 +01:00
- name : deezer
engine : deezer
shortcut : dz
- name : deviantart
engine : deviantart
2014-01-31 16:05:50 +01:00
shortcut : da
2014-02-13 17:09:38 +01:00
timeout: 3.0
- name : ddg definitions
engine : duckduckgo_definitions
2014-01-31 16:05:50 +01:00
shortcut : ddd
disabled : True
2015-01-16 12:36:33 +01:00
- name : digg
engine : digg
shortcut : dg
2016-03-26 23:29:23 +01:00
- name : erowid
engine : xpath
paging : True
first_page_num : 0
page_size : 30
search_url : https://www.erowid.org/search.php?q={query}&s={pageno}
2016-03-26 23:29:23 +01:00
url_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
title_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
content_xpath : //dl[@class="results-list"]/dd[@class="result-details"]
categories : general
shortcut : ew
disabled : True
- name : wikidata
engine : wikidata
shortcut : wd
- name : duckduckgo
engine : duckduckgo
2014-01-31 16:05:50 +01:00
shortcut : ddg
2014-10-17 12:34:51 +02:00
# api-key required: http://www.faroo.com/hp/api/api.html#key
# - name : faroo
# engine : faroo
# shortcut : fa
# api_key : 'apikey' # required!
- name : 500px
2015-01-31 22:05:13 +01:00
engine : www500px
shortcut : px
- name : 1x
engine : www1x
shortcut : 1x
disabled : True
2016-03-26 22:50:44 +01:00
- name : fdroid
engine : fdroid
shortcut : fd
disabled : True
- name : flickr
categories : images
2014-01-31 16:05:50 +01:00
shortcut : fl
# 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-01-31 22:05:13 +01:00
engine : flickr_noapi
2016-02-04 20:27:36 +01:00
- name : frinkiac
engine : frinkiac
shortcut : frk
disabled : True
2015-02-08 14:12:14 +01:00
- name : gigablast
engine : gigablast
shortcut : gb
2015-03-14 19:45:39 +01:00
disabled: True
2015-02-08 14:12:14 +01:00
2016-03-28 16:08:34 +02:00
- name : gitlab
engine : xpath
paging : True
search_url : https://gitlab.com/search?page={pageno}&search={query}
url_xpath : //li[@class="project-row"]//a[@class="project"]/@href
title_xpath : //li[@class="project-row"]//span[contains(@class, "project-full-name")]
content_xpath : //li[@class="project-row"]//div[@class="description"]/p
categories : it
shortcut : gl
timeout : 5.0
disabled : True
- name : github
engine : github
2014-02-09 11:16:25 +01:00
shortcut : gh
- name : google
engine : google
2014-01-31 16:05:50 +01:00
shortcut : go
- name : google images
engine : google_images
2014-01-31 16:05:50 +01:00
shortcut : goi
2014-03-04 13:13:16 +01:00
- name : google news
engine : google_news
shortcut : gon
2014-03-05 00:37:12 +01:00
2016-07-14 11:38:41 +02:00
- name : google scholar
engine : xpath
paging : True
search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1'
results_xpath : //div[@class="gs_r"]/div[@class="gs_ri"]
url_xpath : .//h3/a/@href
title_xpath : .//h3/a
content_xpath : .//div[@class="gs_rs"]
suggestion_xpath : //div[@id="gs_qsuggest"]/ul/li
page_size : 10
first_page_num : 0
categories : science
shortcut : gos
- 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
disabled : True
2015-01-16 12:36:33 +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
disabled : True
2015-01-16 12:36:33 +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
disabled : True
2015-01-16 12:36:33 +01:00
- name : geektimes
engine : xpath
paging : True
search_url : https://geektimes.ru/search/page{pageno}/?q={query}
2016-06-11 23:37:50 +02:00
url_xpath : //div[@class="search_results"]//a[@class="post__title_link"]/@href
title_xpath : //div[@class="search_results"]//a[@class="post__title_link"]
content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
categories : it
timeout : 4.0
disabled : True
shortcut : gt
- name : habrahabr
engine : xpath
paging : True
search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
url_xpath : //div[@class="search_results"]//a[@class="post_title"]/@href
title_xpath : //div[@class="search_results"]//a[@class="post_title"]
content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
categories : it
timeout : 4.0
disabled : True
shortcut : habr
2016-07-09 17:44:27 +02:00
- name : ina
engine : ina
shortcut : in
timeout : 6.0
disabled : True
2015-01-21 18:02:29 +01:00
- name : mixcloud
engine : mixcloud
shortcut : mc
2016-03-24 19:24:37 +01:00
- name : nyaa
engine : nyaa
shortcut : nt
disabled : True
2016-03-24 19:24:37 +01:00
2014-09-06 14:09:27 +02:00
- name : openstreetmap
engine : openstreetmap
shortcut : osm
2014-12-16 15:01:05 +01:00
- name : photon
engine : photon
shortcut : ph
- name : piratebay
engine : piratebay
shortcut : tpb
disabled : True
- name : qwant
engine : qwant
shortcut : qw
categories : general
disabled : True
- name : qwant images
engine : qwant
shortcut : qwi
categories : images
- name : qwant news
engine : qwant
shortcut : qwn
categories : news
- name : qwant social
engine : qwant
shortcut : qws
categories : social media
2016-03-25 14:30:32 +01:00
- name : reddit
engine : reddit
shortcut : re
page_size : 25
timeout : 10.0
disabled : True
2014-12-09 19:21:35 +01:00
- name : kickass
engine : kickass
shortcut : ka
- name : scanr_structures
shortcut: scs
engine : scanr_structures
disabled : True
- name : soundcloud
engine : soundcloud
2014-01-31 16:05:50 +01:00
shortcut : sc
- name : stackoverflow
engine : stackoverflow
2014-01-31 16:05:50 +01:00
shortcut : st
2015-01-16 12:36:33 +01:00
- name : searchcode doc
engine : searchcode_doc
shortcut : scd
2015-01-16 12:36:33 +01:00
- name : searchcode code
engine : searchcode_code
shortcut : scc
disabled : True
2015-02-20 18:47:56 +01:00
- name : spotify
engine : spotify
shortcut : stf
- 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
- name : startpage
engine : startpage
2014-01-31 16:05:50 +01:00
shortcut : sp
timeout : 6.0
disabled : True
- name : ixquick
engine : startpage
base_url : 'https://www.ixquick.com/'
search_url : 'https://www.ixquick.com/do/search'
2015-06-21 17:53:42 +02:00
shortcut : iq
timeout : 6.0
disabled : True
- name : swisscows
engine : swisscows
shortcut : sw
disabled : True
2016-03-26 19:49:57 +01:00
- name : tokyotoshokan
engine : tokyotoshokan
shortcut : tt
timeout : 6.0
disabled : True
2016-03-26 00:28:58 +01:00
- name : torrentz
engine : torrentz
timeout : 5.0
shortcut : to
- name : twitter
engine : twitter
2014-01-31 16:05:50 +01:00
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
2014-01-31 16:05:50 +01:00
shortcut : yh
2015-10-31 15:27:23 +01:00
- name : yandex
engine : yandex
2015-10-31 20:41:39 +01:00
shortcut : yn
2015-10-31 15:27:23 +01:00
disabled : True
2014-03-04 13:13:16 +01:00
- name : yahoo news
engine : yahoo_news
shortcut : yhn
2014-03-05 00:37:12 +01:00
- name : youtube
2014-01-31 16:05:50 +01:00
shortcut : yt
# You can use the engine using the official stable API, but you need an API key
# See : https://console.developers.google.com/project
# engine : youtube_api
# api_key: 'apikey' # required!
# Or you can use the html non-stable engine, activated by default
engine : youtube_noapi
- name : dailymotion
engine : dailymotion
2014-01-31 16:05:50 +01:00
shortcut : dm
- name : vimeo
engine : vimeo
2014-01-31 16:05:50 +01:00
shortcut : vm
2014-01-22 00:21:37 +01:00
2015-12-30 03:59:51 +01:00
- name : wolframalpha
shortcut : wa
2016-01-02 05:02:10 +01:00
# You can use the engine using the official stable API, but you need an API key
# See : http://products.wolframalpha.com/api/
# engine : wolframalpha_api
2016-02-28 07:47:36 +01:00
# api_key: '' # required!
2015-12-30 03:59:51 +01:00
engine : wolframalpha_noapi
2016-02-28 07:47:36 +01:00
timeout: 6.0
categories : science
2015-12-23 07:01:00 +01:00
#The blekko technology and team have joined IBM Watson! -> https://blekko.com/
# - name : blekko images
# engine : blekko_images
# locale : en-US
# shortcut : bli
# - name : yacy
# engine : yacy
# shortcut : ya
# base_url : 'http://localhost:8090'
# number_of_results : 5
# timeout : 3.0
# Doku engine lets you access to any Doku wiki instance:
# A public one or a privete/corporate one.
# - name : ubuntuwiki
# engine : doku
# shortcut : uw
# base_url : 'http://doc.ubuntu-fr.org'
2014-01-22 00:59:18 +01:00
locales:
2014-01-22 00:21:37 +01:00
en : English
bg : Български (Bulgarian)
de : Deutsch (German)
el_GR : Ελληνικά (Greek_Greece)
eo : Esperanto (Esperanto)
es : Español (Spanish)
fr : Français (French)
he : עברית (Hebrew)
hu : Magyar (Hungarian)
it : Italiano (Italian)
2014-10-05 17:13:39 +02:00
ja : 日本語 (Japanese)
nl : Nederlands (Dutch)
pt : Português (Portuguese)
pt_BR : Português (Portuguese_Brazil)
ro : Română (Romanian)
ru : Русский (Russian)
tr : Türkçe (Turkish)
2015-09-08 21:15:40 +02:00
zh : 中文 (Chinese)