settings.yml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. server:
  2. port : 8888
  3. secret_key : "ultrasecretkey" # change this!
  4. debug : False # Debug mode, only for development
  5. request_timeout : 2.0 # seconds
  6. base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
  7. themes_path : "" # Custom ui themes path - leave it blank if you didn't change
  8. default_theme : oscar # ui theme
  9. https_rewrite : True # Force rewrite result urls. See searx/https_rewrite.py
  10. useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
  11. image_proxy : False # Proxying image results through searx
  12. default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
  13. # uncomment below section only if you have more than one network interface
  14. # which can be the source of outgoing search requests
  15. #source_ips:
  16. # - 1.1.1.1
  17. # - 1.1.1.2
  18. engines:
  19. - name : wikipedia
  20. engine : mediawiki
  21. shortcut : wp
  22. base_url : 'https://{language}.wikipedia.org/'
  23. number_of_results : 1
  24. - name : bing
  25. engine : bing
  26. locale : en-US
  27. shortcut : bi
  28. - name : bing images
  29. engine : bing_images
  30. locale : en-US
  31. shortcut : bii
  32. - name : bing news
  33. engine : bing_news
  34. locale : en-US
  35. shortcut : bin
  36. - name : btdigg
  37. engine : btdigg
  38. shortcut : bt
  39. - name : currency
  40. engine : currency_convert
  41. categories : general
  42. shortcut : cc
  43. - name : deezer
  44. engine : deezer
  45. shortcut : dz
  46. - name : deviantart
  47. engine : deviantart
  48. shortcut : da
  49. timeout: 3.0
  50. - name : ddg definitions
  51. engine : duckduckgo_definitions
  52. shortcut : ddd
  53. - name : digg
  54. engine : digg
  55. shortcut : dg
  56. - name : wikidata
  57. engine : wikidata
  58. shortcut : wd
  59. - name : duckduckgo
  60. engine : duckduckgo
  61. shortcut : ddg
  62. # api-key required: http://www.faroo.com/hp/api/api.html#key
  63. # - name : faroo
  64. # engine : faroo
  65. # shortcut : fa
  66. # api_key : 'apikey' # required!
  67. - name : 500px
  68. engine : www500px
  69. shortcut : px
  70. - name : 1x
  71. engine : www1x
  72. shortcut : 1x
  73. disabled : True
  74. - name : flickr
  75. categories : images
  76. shortcut : fl
  77. # You can use the engine using the official stable API, but you need an API key
  78. # See : https://www.flickr.com/services/apps/create/
  79. # engine : flickr
  80. # api_key: 'apikey' # required!
  81. # Or you can use the html non-stable engine, activated by default
  82. engine : flickr_noapi
  83. - name : gigablast
  84. engine : gigablast
  85. shortcut : gb
  86. disabled: True
  87. - name : github
  88. engine : github
  89. shortcut : gh
  90. - name : google
  91. engine : google
  92. shortcut : go
  93. - name : google images
  94. engine : google_images
  95. shortcut : goi
  96. - name : google news
  97. engine : google_news
  98. shortcut : gon
  99. - name : google play apps
  100. engine : xpath
  101. search_url : https://play.google.com/store/search?q={query}&c=apps
  102. url_xpath : //a[@class="title"]/@href
  103. title_xpath : //a[@class="title"]
  104. content_xpath : //a[@class="subtitle"]
  105. categories : files
  106. shortcut : gpa
  107. disabled : True
  108. - name : google play movies
  109. engine : xpath
  110. search_url : https://play.google.com/store/search?q={query}&c=movies
  111. url_xpath : //a[@class="title"]/@href
  112. title_xpath : //a[@class="title"]
  113. content_xpath : //a[@class="subtitle"]
  114. categories : videos
  115. shortcut : gpm
  116. disabled : True
  117. - name : google play music
  118. engine : xpath
  119. search_url : https://play.google.com/store/search?q={query}&c=music
  120. url_xpath : //a[@class="title"]/@href
  121. title_xpath : //a[@class="title"]
  122. content_xpath : //a[@class="subtitle"]
  123. categories : music
  124. shortcut : gps
  125. disabled : True
  126. - name : mixcloud
  127. engine : mixcloud
  128. shortcut : mc
  129. - name : openstreetmap
  130. engine : openstreetmap
  131. shortcut : osm
  132. - name : photon
  133. engine : photon
  134. shortcut : ph
  135. - name : piratebay
  136. engine : piratebay
  137. shortcut : tpb
  138. - name : kickass
  139. engine : kickass
  140. shortcut : ka
  141. - name : soundcloud
  142. engine : soundcloud
  143. shortcut : sc
  144. - name : stackoverflow
  145. engine : stackoverflow
  146. shortcut : st
  147. - name : searchcode doc
  148. engine : searchcode_doc
  149. shortcut : scd
  150. - name : searchcode code
  151. engine : searchcode_code
  152. shortcut : scc
  153. disabled : True
  154. - name : spotify
  155. engine : spotify
  156. shortcut : stf
  157. - name : subtitleseeker
  158. engine : subtitleseeker
  159. shortcut : ss
  160. # The language is an option. You can put any language written in english
  161. # Examples : English, French, German, Hungarian, Chinese...
  162. # language : English
  163. - name : startpage
  164. engine : startpage
  165. shortcut : sp
  166. # +30% page load time
  167. # - name : ixquick
  168. # engine : startpage
  169. # base_url : 'https://www.ixquick.com/'
  170. # search_url : 'https://www.ixquick.com/do/search'
  171. - name : twitter
  172. engine : twitter
  173. shortcut : tw
  174. # maybe in a fun category
  175. # - name : uncyclopedia
  176. # engine : mediawiki
  177. # shortcut : unc
  178. # base_url : https://uncyclopedia.wikia.com/
  179. # number_of_results : 5
  180. # tmp suspended - too slow, too many errors
  181. # - name : urbandictionary
  182. # engine : xpath
  183. # search_url : http://www.urbandictionary.com/define.php?term={query}
  184. # url_xpath : //div[@class="word"]//a/@href
  185. # title_xpath : //div[@class="word"]//a
  186. # content_xpath : //div[@class="definition"]
  187. # shortcut : ud
  188. - name : yahoo
  189. engine : yahoo
  190. shortcut : yh
  191. - name : yahoo news
  192. engine : yahoo_news
  193. shortcut : yhn
  194. - name : youtube
  195. engine : youtube
  196. shortcut : yt
  197. - name : dailymotion
  198. engine : dailymotion
  199. shortcut : dm
  200. - name : vimeo
  201. engine : vimeo
  202. locale : en-US
  203. shortcut : vm
  204. #The blekko technology and team have joined IBM Watson! -> https://blekko.com/
  205. # - name : blekko images
  206. # engine : blekko_images
  207. # locale : en-US
  208. # shortcut : bli
  209. # - name : yacy
  210. # engine : yacy
  211. # shortcut : ya
  212. # base_url : 'http://localhost:8090'
  213. # number_of_results : 5
  214. # timeout : 3.0
  215. locales:
  216. en : English
  217. de : Deutsch
  218. he : Hebrew
  219. hu : Magyar
  220. fr : Français
  221. es : Español
  222. it : Italiano
  223. nl : Nederlands
  224. ja : 日本語 (Japanese)
  225. tr : Türkçe
  226. ru : Russian