settings.yml 8.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. general:
  2. debug : False # Debug mode, only for development
  3. instance_name : "searx" # displayed name
  4. search:
  5. safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict
  6. autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "wikipedia" - leave blank to turn it off by default
  7. server:
  8. port : 8888
  9. bind_address : "127.0.0.1" # address to listen on
  10. secret_key : "ultrasecretkey" # change this!
  11. base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
  12. image_proxy : False # Proxying image results through searx
  13. ui:
  14. themes_path : "" # Custom ui themes path - leave it blank if you didn't change
  15. default_theme : oscar # ui theme
  16. default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
  17. outgoing: # communication with search engines
  18. request_timeout : 2.0 # seconds
  19. useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
  20. # uncomment below section if you want to use a proxy
  21. # see http://docs.python-requests.org/en/latest/user/advanced/#proxies
  22. # SOCKS proxies are not supported : see https://github.com/kennethreitz/requests/pull/478
  23. # proxies :
  24. # http : http://127.0.0.1:8080
  25. # https: http://127.0.0.1:8080
  26. # uncomment below section only if you have more than one network interface
  27. # which can be the source of outgoing search requests
  28. # source_ips:
  29. # - 1.1.1.1
  30. # - 1.1.1.2
  31. engines:
  32. - name : wikipedia
  33. engine : mediawiki
  34. shortcut : wp
  35. base_url : 'https://{language}.wikipedia.org/'
  36. number_of_results : 1
  37. - name : bing
  38. engine : bing
  39. shortcut : bi
  40. - name : bing images
  41. engine : bing_images
  42. shortcut : bii
  43. - name : bing news
  44. engine : bing_news
  45. shortcut : bin
  46. - name : btdigg
  47. engine : btdigg
  48. shortcut : bt
  49. - name : currency
  50. engine : currency_convert
  51. categories : general
  52. shortcut : cc
  53. - name : deezer
  54. engine : deezer
  55. shortcut : dz
  56. - name : deviantart
  57. engine : deviantart
  58. shortcut : da
  59. timeout: 3.0
  60. - name : ddg definitions
  61. engine : duckduckgo_definitions
  62. shortcut : ddd
  63. - name : digg
  64. engine : digg
  65. shortcut : dg
  66. - name : wikidata
  67. engine : wikidata
  68. shortcut : wd
  69. - name : duckduckgo
  70. engine : duckduckgo
  71. shortcut : ddg
  72. # api-key required: http://www.faroo.com/hp/api/api.html#key
  73. # - name : faroo
  74. # engine : faroo
  75. # shortcut : fa
  76. # api_key : 'apikey' # required!
  77. - name : 500px
  78. engine : www500px
  79. shortcut : px
  80. - name : 1x
  81. engine : www1x
  82. shortcut : 1x
  83. disabled : True
  84. - name : flickr
  85. categories : images
  86. shortcut : fl
  87. # You can use the engine using the official stable API, but you need an API key
  88. # See : https://www.flickr.com/services/apps/create/
  89. # engine : flickr
  90. # api_key: 'apikey' # required!
  91. # Or you can use the html non-stable engine, activated by default
  92. engine : flickr_noapi
  93. - name : frinkiac
  94. engine : frinkiac
  95. shortcut : frk
  96. disabled : True
  97. - name : gigablast
  98. engine : gigablast
  99. shortcut : gb
  100. disabled: True
  101. - name : github
  102. engine : github
  103. shortcut : gh
  104. - name : google
  105. engine : google
  106. shortcut : go
  107. - name : google images
  108. engine : google_images
  109. shortcut : goi
  110. - name : google news
  111. engine : google_news
  112. shortcut : gon
  113. - name : google play apps
  114. engine : xpath
  115. search_url : https://play.google.com/store/search?q={query}&c=apps
  116. url_xpath : //a[@class="title"]/@href
  117. title_xpath : //a[@class="title"]
  118. content_xpath : //a[@class="subtitle"]
  119. categories : files
  120. shortcut : gpa
  121. disabled : True
  122. - name : google play movies
  123. engine : xpath
  124. search_url : https://play.google.com/store/search?q={query}&c=movies
  125. url_xpath : //a[@class="title"]/@href
  126. title_xpath : //a[@class="title"]
  127. content_xpath : //a[@class="subtitle"]
  128. categories : videos
  129. shortcut : gpm
  130. disabled : True
  131. - name : google play music
  132. engine : xpath
  133. search_url : https://play.google.com/store/search?q={query}&c=music
  134. url_xpath : //a[@class="title"]/@href
  135. title_xpath : //a[@class="title"]
  136. content_xpath : //a[@class="subtitle"]
  137. categories : music
  138. shortcut : gps
  139. disabled : True
  140. - name : mixcloud
  141. engine : mixcloud
  142. shortcut : mc
  143. - name : openstreetmap
  144. engine : openstreetmap
  145. shortcut : osm
  146. - name : photon
  147. engine : photon
  148. shortcut : ph
  149. - name : piratebay
  150. engine : piratebay
  151. shortcut : tpb
  152. disabled : True
  153. - name : qwant
  154. engine : qwant
  155. shortcut : qw
  156. categories : general
  157. disabled : True
  158. - name : qwant images
  159. engine : qwant
  160. shortcut : qwi
  161. categories : images
  162. - name : qwant news
  163. engine : qwant
  164. shortcut : qwn
  165. categories : news
  166. - name : qwant social
  167. engine : qwant
  168. shortcut : qws
  169. categories : social media
  170. - name : kickass
  171. engine : kickass
  172. shortcut : ka
  173. - name : soundcloud
  174. engine : soundcloud
  175. shortcut : sc
  176. - name : stackoverflow
  177. engine : stackoverflow
  178. shortcut : st
  179. - name : searchcode doc
  180. engine : searchcode_doc
  181. shortcut : scd
  182. - name : searchcode code
  183. engine : searchcode_code
  184. shortcut : scc
  185. disabled : True
  186. - name : spotify
  187. engine : spotify
  188. shortcut : stf
  189. - name : subtitleseeker
  190. engine : subtitleseeker
  191. shortcut : ss
  192. # The language is an option. You can put any language written in english
  193. # Examples : English, French, German, Hungarian, Chinese...
  194. # language : English
  195. - name : startpage
  196. engine : startpage
  197. shortcut : sp
  198. timeout : 6.0
  199. disabled : True
  200. - name : ixquick
  201. engine : startpage
  202. base_url : 'https://www.ixquick.com/'
  203. search_url : 'https://www.ixquick.com/do/search'
  204. shortcut : iq
  205. timeout : 6.0
  206. disabled : True
  207. - name : swisscows
  208. engine : swisscows
  209. shortcut : sw
  210. disabled : True
  211. - name : twitter
  212. engine : twitter
  213. shortcut : tw
  214. # maybe in a fun category
  215. # - name : uncyclopedia
  216. # engine : mediawiki
  217. # shortcut : unc
  218. # base_url : https://uncyclopedia.wikia.com/
  219. # number_of_results : 5
  220. # tmp suspended - too slow, too many errors
  221. # - name : urbandictionary
  222. # engine : xpath
  223. # search_url : http://www.urbandictionary.com/define.php?term={query}
  224. # url_xpath : //div[@class="word"]//a/@href
  225. # title_xpath : //div[@class="word"]//a
  226. # content_xpath : //div[@class="definition"]
  227. # shortcut : ud
  228. - name : yahoo
  229. engine : yahoo
  230. shortcut : yh
  231. - name : yandex
  232. engine : yandex
  233. shortcut : yn
  234. disabled : True
  235. - name : yahoo news
  236. engine : yahoo_news
  237. shortcut : yhn
  238. - name : youtube
  239. shortcut : yt
  240. # You can use the engine using the official stable API, but you need an API key
  241. # See : https://console.developers.google.com/project
  242. # engine : youtube_api
  243. # api_key: 'apikey' # required!
  244. # Or you can use the html non-stable engine, activated by default
  245. engine : youtube_noapi
  246. - name : dailymotion
  247. engine : dailymotion
  248. shortcut : dm
  249. - name : vimeo
  250. engine : vimeo
  251. shortcut : vm
  252. - name : wolframalpha
  253. shortcut : wa
  254. # You can use the engine using the official stable API, but you need an API key
  255. # See : http://products.wolframalpha.com/api/
  256. # engine : wolframalpha_api
  257. # api_key: '' # required!
  258. engine : wolframalpha_noapi
  259. timeout: 6.0
  260. categories : science
  261. #The blekko technology and team have joined IBM Watson! -> https://blekko.com/
  262. # - name : blekko images
  263. # engine : blekko_images
  264. # locale : en-US
  265. # shortcut : bli
  266. # - name : yacy
  267. # engine : yacy
  268. # shortcut : ya
  269. # base_url : 'http://localhost:8090'
  270. # number_of_results : 5
  271. # timeout : 3.0
  272. locales:
  273. en : English
  274. bg : Български (Bulgarian)
  275. de : Deutsch (German)
  276. el_GR : Ελληνικά (Greek_Greece)
  277. eo : Esperanto (Esperanto)
  278. es : Español (Spanish)
  279. fr : Français (French)
  280. he : עברית (Hebrew)
  281. hu : Magyar (Hungarian)
  282. it : Italiano (Italian)
  283. ja : 日本語 (Japanese)
  284. nl : Nederlands (Dutch)
  285. pt : Português (Portuguese)
  286. pt_BR : Português (Portuguese_Brazil)
  287. ro : Română (Romanian)
  288. ru : Русский (Russian)
  289. tr : Türkçe (Turkish)
  290. zh : 中文 (Chinese)