mirror of
https://github.com/searxng/searxng.git
synced 2024-11-06 01:19:31 +00:00
4a195e0b28
New "embedded" item for the results, allow to give an iframe to display the media directly in the results. Note that the attributes src of the iframes are not set, but instead data-src is set, allowing to only load the iframe when clicked. Deezer engine based on public API (no key).
243 lines
5.5 KiB
YAML
243 lines
5.5 KiB
YAML
server:
|
|
port : 8888
|
|
secret_key : "ultrasecretkey" # change this!
|
|
debug : False # Debug mode, only for development
|
|
request_timeout : 2.0 # seconds
|
|
base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
|
|
themes_path : "" # Custom ui themes path
|
|
default_theme : default # ui theme
|
|
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
|
|
|
|
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 : deezer
|
|
engine : deezer
|
|
shortcut : dz
|
|
|
|
- name : deviantart
|
|
engine : deviantart
|
|
shortcut : da
|
|
timeout: 3.0
|
|
|
|
- name : ddg definitions
|
|
engine : duckduckgo_definitions
|
|
shortcut : ddd
|
|
|
|
- name : digg
|
|
engine : digg
|
|
shortcut : dg
|
|
|
|
- name : wikidata
|
|
engine : wikidata
|
|
shortcut : wd
|
|
|
|
- name : duckduckgo
|
|
engine : duckduckgo
|
|
shortcut : ddg
|
|
|
|
# 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
|
|
|
|
- name : 500px
|
|
engine : 500px
|
|
shortcut : px
|
|
|
|
- name : flickr
|
|
categories : images
|
|
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
|
|
engine : flickr-noapi
|
|
|
|
- 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 : 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
|
|
|
|
- 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
|
|
|
|
- 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
|
|
|
|
- name : openstreetmap
|
|
engine : openstreetmap
|
|
shortcut : osm
|
|
|
|
- name : photon
|
|
engine : photon
|
|
shortcut : ph
|
|
|
|
# - name : piratebay
|
|
# engine : piratebay
|
|
# shortcut : tpb
|
|
|
|
- name : kickass
|
|
engine : kickass
|
|
shortcut : ka
|
|
|
|
- name : soundcloud
|
|
engine : soundcloud
|
|
shortcut : sc
|
|
|
|
- name : stackoverflow
|
|
engine : stackoverflow
|
|
shortcut : st
|
|
|
|
- name : searchcode doc
|
|
engine : searchcode_doc
|
|
shortcut : scd
|
|
|
|
- name : searchcode code
|
|
engine : searchcode_code
|
|
shortcut : scc
|
|
|
|
- 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
|
|
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
|
|
|
|
# - name : yacy
|
|
# engine : yacy
|
|
# shortcut : ya
|
|
# base_url : 'http://localhost:8090'
|
|
# number_of_results : 5
|
|
# timeout: 3.0
|
|
|
|
locales:
|
|
en : English
|
|
de : Deutsch
|
|
hu : Magyar
|
|
fr : Français
|
|
es : Español
|
|
it : Italiano
|
|
nl : Nederlands
|
|
ja : 日本語 (Japanese)
|
|
tr : Türkçe
|