searxng/searx/settings.yml

728 lines
19 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
language : "all"
server:
port : 8888
bind_address : "127.0.0.1" # address to listen on
secret_key : "ultrasecretkey" # change this!
2014-09-06 12:17:14 +00: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
http_protocol_version : "1.0" # 1.0 and 1.1 are supported
ui:
static_path : "" # Custom static path - leave it blank if you didn't change
templates_path : "" # Custom templates path - leave it blank if you didn't change
2015-01-16 11:36:33 +00:00
default_theme : oscar # ui theme
2015-01-17 19:51:39 +00:00
default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
2016-10-16 22:22:41 +00:00
# searx supports result proxification using an external service: https://github.com/asciimoo/morty
# uncomment below section if you have running morty proxy
#result_proxy:
# url : http://127.0.0.1:3000/
# key : your_morty_proxy_key
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
2016-09-05 20:35:54 +00:00
# SOCKS proxies are also supported: see http://docs.python-requests.org/en/master/user/advanced/#socks
# proxies :
# http : http://127.0.0.1:8080
# https: http://127.0.0.1:8080
2015-02-22 22:24:49 +00: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 22:24:49 +00:00
engines:
2016-03-23 19:57:27 +00:00
- name : arch linux wiki
engine : archlinux
shortcut : al
2016-03-29 14:18:46 +00:00
2016-06-08 21:22:07 +00: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
2017-09-23 12:16:06 +00:00
- name : arxiv
engine : arxiv
shortcut : arx
categories : science
timeout : 4.0
- name : base
engine : base
shortcut : bs
2016-03-23 19:57:27 +00:00
- name : wikipedia
engine : wikipedia
2014-02-09 10:16:25 +00:00
shortcut : wp
base_url : 'https://{language}.wikipedia.org/'
- name : bing
engine : bing
2014-01-31 15:05:50 +00:00
shortcut : bi
2014-09-01 12:39:18 +00:00
- name : bing images
engine : bing_images
shortcut : bii
2014-03-04 12:13:16 +00:00
- name : bing news
engine : bing_news
shortcut : bin
2014-03-04 23:37:12 +00:00
2017-08-05 19:48:07 +00:00
- name : bing videos
engine : bing_videos
shortcut : biv
2016-03-28 14:08:34 +00: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
2016-12-24 15:44:12 +00:00
- name : ccc-tv
engine : xpath
paging : False
search_url : https://media.ccc.de/search/?q={query}
url_xpath : //div[@class="caption"]/h3/a/@href
title_xpath : //div[@class="caption"]/h3/a/text()
content_xpath : //div[@class="caption"]/h4/@title
categories : videos
2016-12-25 21:04:45 +00:00
disabled : True
2016-12-24 15:44:12 +00:00
shortcut : c3tv
- name : crossref
engine : json_engine
paging : True
search_url : http://search.crossref.org/dois?q={query}&page={pageno}
url_query : doi
title_query : title
content_query : fullCitation
categories : science
shortcut : cr
2015-01-21 17:02:29 +00:00
- name : currency
engine : currency_convert
categories : general
2014-01-31 15:05:50 +00:00
shortcut : cc
2015-01-16 11:36:33 +00:00
- name : deezer
engine : deezer
shortcut : dz
- name : deviantart
engine : deviantart
2014-01-31 15:05:50 +00:00
shortcut : da
2014-02-13 16:09:38 +00:00
timeout: 3.0
- name : ddg definitions
engine : duckduckgo_definitions
2014-01-31 15:05:50 +00:00
shortcut : ddd
weight : 2
disabled : True
2015-01-16 11:36:33 +00:00
- name : digbt
engine : digbt
shortcut : dbt
timeout : 6.0
2016-08-13 23:05:21 +00:00
disabled : True
- name : digg
engine : digg
shortcut : dg
2016-03-26 22:29:23 +00: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 22:29:23 +00: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
weight : 2
- name : duckduckgo
engine : duckduckgo
2014-01-31 15:05:50 +00:00
shortcut : ddg
disabled : True
2017-05-21 03:33:08 +00:00
- name : duckduckgo images
engine : duckduckgo_images
shortcut : ddi
timeout: 3.0
disabled : True
2016-08-14 09:25:29 +00:00
- name : etymonline
engine : xpath
paging : True
search_url : http://etymonline.com/?search={query}&p={pageno}
url_xpath : //dt/a[1]/@href
title_xpath : //dt
content_xpath : //dd
suggestion_xpath : //a[@class="crossreference"]
first_page_num : 0
shortcut : et
disabled : True
2016-08-14 09:25:29 +00:00
- name : faroo
engine : faroo
shortcut : fa
disabled : True
2014-10-17 10:34:51 +00:00
- name : 500px
2015-01-31 21:05:13 +00:00
engine : www500px
shortcut : px
- name : 1x
engine : www1x
shortcut : 1x
disabled : True
2016-03-26 21:50:44 +00:00
- name : fdroid
engine : fdroid
shortcut : fd
disabled : True
- name : flickr
categories : images
2014-01-31 15:05:50 +00: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 21:05:13 +00:00
engine : flickr_noapi
- name : free software directory
engine : mediawiki
shortcut : fsd
categories : it
base_url : https://directory.fsf.org/
number_of_results : 5
# what part of a page matches the query string: title, text, nearmatch
# title - query matches title, text - query matches the text of page, nearmatch - nearmatch in title
search_type : title
timeout : 5.0
disabled : True
2016-02-04 19:27:36 +00:00
- name : frinkiac
engine : frinkiac
shortcut : frk
disabled : True
2015-02-08 13:12:14 +00:00
- name : gigablast
engine : gigablast
shortcut : gb
2016-12-11 10:41:55 +00:00
timeout : 3.0
2015-03-14 18:45:39 +00:00
disabled: True
2015-02-08 13:12:14 +00:00
2016-03-28 14:08:34 +00:00
- name : gitlab
engine : json_engine
2016-03-28 14:08:34 +00:00
paging : True
search_url : https://gitlab.com/api/v4/projects?search={query}&page={pageno}
url_query : web_url
title_query : name_with_namespace
content_query : description
page_size : 20
2016-03-28 14:08:34 +00:00
categories : it
shortcut : gl
timeout : 10.0
2016-03-28 14:08:34 +00:00
disabled : True
- name : github
engine : github
2014-02-09 10:16:25 +00:00
shortcut : gh
- name : google
engine : google
2014-01-31 15:05:50 +00:00
shortcut : go
- name : google images
engine : google_images
2014-01-31 15:05:50 +00:00
shortcut : goi
2014-03-04 12:13:16 +00:00
- name : google news
engine : google_news
shortcut : gon
2014-03-04 23:37:12 +00:00
2017-07-22 03:17:28 +00:00
- name : google videos
engine : google_videos
shortcut : gov
2016-07-14 09:38:41 +00:00
- name : google scholar
engine : xpath
paging : True
2016-08-10 11:33:05 +00:00
search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
2016-07-14 09:38:41 +00:00
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 11:36:33 +00: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
2016-12-11 03:30:36 +00:00
title_xpath : //a[@class="title"]/@title
content_xpath : //a[contains(@class, "subtitle")]
categories : videos
shortcut : gpm
disabled : True
2015-01-16 11:36:33 +00: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 11:36:33 +00:00
- name : geektimes
engine : xpath
paging : True
search_url : https://geektimes.ru/search/page{pageno}/?q={query}
2017-08-31 13:36:49 +00:00
url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]
content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")]
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}
2017-08-31 16:26:46 +00:00
url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]
content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")]
categories : it
timeout : 4.0
disabled : True
shortcut : habr
2016-08-14 11:48:57 +00:00
- name : hoogle
engine : json_engine
paging : True
search_url : https://www.haskell.org/hoogle/?mode=json&hoogle={query}&start={pageno}
results_query : results
url_query : location
title_query : self
content_query : docs
page_size : 20
categories : it
shortcut : ho
2016-07-09 15:44:27 +00:00
- name : ina
engine : ina
shortcut : in
timeout : 6.0
disabled : True
2016-10-11 17:31:42 +00:00
- name: kickass
engine : kickass
shortcut : kc
timeout : 4.0
disabled : True
2016-07-09 15:44:27 +00:00
2017-02-01 01:23:47 +00:00
- name : library genesis
engine : xpath
search_url : http://libgen.io/search.php?req={query}
url_xpath : //a[contains(@href,"bookfi.net")]/@href
title_xpath : //a[contains(@href,"book/")]/text()[1]
content_xpath : //td/a[1][contains(@href,"=author")]/text()
categories : general
timeout : 7.0
disabled : True
shortcut : lg
2016-11-06 00:17:30 +00:00
- name : lobste.rs
engine : xpath
search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
results_xpath : //li[contains(@class, "story")]
url_xpath : .//span[@class="link"]/a/@href
title_xpath : .//span[@class="link"]/a
content_xpath : .//a[@class="domain"]
categories : it
shortcut : lo
2016-08-12 10:15:27 +00:00
- name : microsoft academic
engine : json_engine
paging : True
search_url : https://academic.microsoft.com/api/search/GetEntityResults?query=%40{query}%40&filters=&offset={pageno}&limit=8&correlationId=undefined
results_query : results
url_query : u
title_query : dn
content_query : d
page_size : 8
first_page_num : 0
categories : science
shortcut : ma
2015-01-21 17:02:29 +00:00
- name : mixcloud
engine : mixcloud
shortcut : mc
2016-03-24 18:24:37 +00:00
- name : nyaa
engine : nyaa
shortcut : nt
disabled : True
2016-03-24 18:24:37 +00:00
- name : openaire
engine : json_engine
paging : True
search_url : http://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
results_query : response/results/result
url_query : metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
title_query : metadata/oaf:entity/oaf:result/title/$
content_query : metadata/oaf:entity/oaf:result/description/$
categories : science
shortcut : oa
timeout: 5.0
2014-09-06 12:09:27 +00:00
- name : openstreetmap
engine : openstreetmap
shortcut : osm
- name : openrepos
engine : xpath
paging : True
search_url : https://openrepos.net/search/node/{query}?page={pageno}
url_xpath : //li[@class="search-result"]//h3[@class="title"]/a/@href
title_xpath : //li[@class="search-result"]//h3[@class="title"]/a
content_xpath : //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
categories : files
timeout : 4.0
disabled : True
shortcut : or
- name : pdbe
engine : pdbe
shortcut : pdb
# Hide obsolete PDB entries.
# Default is not to hide obsolete structures
# hide_obsolete : False
2014-12-16 14:01:05 +00:00
- name : photon
engine : photon
shortcut : ph
- name : piratebay
engine : piratebay
shortcut : tpb
url: https://pirateproxy.red/
timeout : 3.0
2017-09-22 20:09:33 +00:00
- name : pubmed
engine : pubmed
shortcut : pub
categories: science
timeout : 3.0
2017-09-22 20:09:33 +00:00
- 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 13:30:32 +00:00
- name : reddit
engine : reddit
shortcut : re
page_size : 25
timeout : 10.0
disabled : True
- name : scanr structures
shortcut: scs
engine : scanr_structures
disabled : True
- name : soundcloud
engine : soundcloud
2014-01-31 15:05:50 +00:00
shortcut : sc
- name : stackoverflow
engine : stackoverflow
2014-01-31 15:05:50 +00:00
shortcut : st
2015-01-16 11:36:33 +00:00
- name : searchcode doc
engine : searchcode_doc
shortcut : scd
2015-01-16 11:36:33 +00:00
- name : searchcode code
engine : searchcode_code
shortcut : scc
disabled : True
- name : framalibre
engine : framalibre
shortcut : frl
disabled : True
2016-12-24 21:23:36 +00:00
# - name : searx
# engine : searx_engine
# shortcut : se
# instance_urls :
# - http://127.0.0.1:8888/
# - ...
# disabled : True
2017-01-17 11:15:53 +00:00
- name : semantic scholar
engine : xpath
paging : True
search_url : https://www.semanticscholar.org/search?q={query}&sort=relevance&page={pageno}&ae=false
results_xpath : //article
url_xpath : .//div[@class="search-result-title"]/a/@href
title_xpath : .//div[@class="search-result-title"]/a
content_xpath : .//div[@class="search-result-abstract"]
shortcut : se
categories : science
2015-02-20 17:47:56 +00: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 15:05:50 +00:00
shortcut : sp
timeout : 6.0
disabled : True
- name : ixquick
engine : startpage
base_url : 'https://www.ixquick.eu/'
search_url : 'https://www.ixquick.eu/do/search'
2015-06-21 15:53:42 +00:00
shortcut : iq
timeout : 6.0
disabled : True
- name : swisscows
engine : swisscows
shortcut : sw
disabled : True
2016-03-26 18:49:57 +00:00
- name : tokyotoshokan
engine : tokyotoshokan
shortcut : tt
timeout : 6.0
disabled : True
- name : torrentz
engine : torrentz
shortcut : tor
url: https://torrentz2.eu/
timeout : 3.0
- name : twitter
engine : twitter
2014-01-31 15:05:50 +00: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 : //*[@class="word"]/@href
# title_xpath : //*[@class="def-header"]
# content_xpath : //*[@class="meaning"]
# shortcut : ud
- name : yahoo
engine : yahoo
2014-01-31 15:05:50 +00:00
shortcut : yh
disabled : True
2015-10-31 14:27:23 +00:00
- name : yandex
engine : yandex
2015-10-31 19:41:39 +00:00
shortcut : yn
2015-10-31 14:27:23 +00:00
disabled : True
2014-03-04 12:13:16 +00:00
- name : yahoo news
engine : yahoo_news
shortcut : yhn
2014-03-04 23:37:12 +00:00
- name : youtube
2014-01-31 15:05:50 +00: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 15:05:50 +00:00
shortcut : dm
- name : vimeo
engine : vimeo
2014-01-31 15:05:50 +00:00
shortcut : vm
2014-01-21 23:21:37 +00:00
2015-12-30 02:59:51 +00:00
- name : wolframalpha
shortcut : wa
2016-01-02 04:02:10 +00: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 06:47:36 +00:00
# api_key: '' # required!
2015-12-30 02:59:51 +00:00
engine : wolframalpha_noapi
2016-02-28 06:47:36 +00:00
timeout: 6.0
categories : science
2015-12-23 06:01:00 +00:00
- name : seedpeer
engine : seedpeer
shortcut: speu
categories: files, music, videos
disabled: True
- name : dictzone
engine : dictzone
2016-09-06 09:47:27 +00:00
shortcut : dc
- name : mymemory translated
engine : translated
shortcut : tl
timeout : 5.0
disabled : True
# You can use without an API key, but you are limited to 1000 words/day
# See : http://mymemory.translated.net/doc/usagelimits.php
# api_key : ''
2016-12-02 19:34:00 +00:00
- name : voat
engine: xpath
shortcut: vo
categories: social media
search_url : https://searchvoat.co/?t={query}
url_xpath : //div[@class="entry"]/p/a[@class="title"]/@href
title_xpath : //div[@class="entry"]/p/a[@class="title"]
content_xpath : //div[@class="entry"]/p/span[@class="domain"]
2016-12-02 19:34:00 +00:00
timeout : 10.0
disabled : True
2017-01-15 13:24:19 +00:00
- name : 1337x
engine : 1337x
shortcut : 1337x
2017-01-15 14:08:43 +00:00
disabled : True
2016-12-02 19:34:00 +00:00
# - 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-21 23:59:18 +00:00
locales:
2014-01-21 23:21:37 +00:00
en : English
bg : Български (Bulgarian)
2017-01-05 14:19:38 +00:00
cs : Čeština (Czech)
2017-11-01 10:03:22 +00:00
da : Dansk (Danish)
de : Deutsch (German)
el_GR : Ελληνικά (Greek_Greece)
eo : Esperanto (Esperanto)
es : Español (Spanish)
fi : Suomi (Finnish)
fr : Français (French)
he : עברית (Hebrew)
hu : Magyar (Hungarian)
it : Italiano (Italian)
2014-10-05 15:13:39 +00:00
ja : 日本語 (Japanese)
nl : Nederlands (Dutch)
pt : Português (Portuguese)
pt_BR : Português (Portuguese_Brazil)
ro : Română (Romanian)
ru : Русский (Russian)
sk : Slovenčina (Slovak)
2017-11-01 10:03:22 +00:00
sl : Slovenski (Slovene)
2017-01-05 14:19:38 +00:00
sv : Svenska (Swedish)
tr : Türkçe (Turkish)
uk : українська мова (Ukrainian)
2015-09-08 19:15:40 +00:00
zh : 中文 (Chinese)
doi_resolvers :
oadoi.org : 'https://oadoi.org/'
doi.org : 'https://doi.org/'
doai.io : 'http://doai.io/'
default_doi_resolver : 'oadoi.org'