settings.yml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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. engines:
  14. - name : wikipedia
  15. engine : mediawiki
  16. shortcut : wp
  17. base_url : 'https://{language}.wikipedia.org/'
  18. number_of_results : 1
  19. - name : bing
  20. engine : bing
  21. locale : en-US
  22. shortcut : bi
  23. - name : bing images
  24. engine : bing_images
  25. locale : en-US
  26. shortcut : bii
  27. - name : bing news
  28. engine : bing_news
  29. locale : en-US
  30. shortcut : bin
  31. - name : blekko images
  32. engine : blekko_images
  33. locale : en-US
  34. shortcut : bli
  35. - name : btdigg
  36. engine : btdigg
  37. shortcut : bt
  38. - name : currency
  39. engine : currency_convert
  40. categories : general
  41. shortcut : cc
  42. - name : deezer
  43. engine : deezer
  44. shortcut : dz
  45. - name : deviantart
  46. engine : deviantart
  47. shortcut : da
  48. timeout: 3.0
  49. - name : ddg definitions
  50. engine : duckduckgo_definitions
  51. shortcut : ddd
  52. - name : digg
  53. engine : digg
  54. shortcut : dg
  55. - name : wikidata
  56. engine : wikidata
  57. shortcut : wd
  58. - name : duckduckgo
  59. engine : duckduckgo
  60. shortcut : ddg
  61. # api-key required: http://www.faroo.com/hp/api/api.html#key
  62. # - name : faroo
  63. # engine : faroo
  64. # shortcut : fa
  65. # api_key : 'apikey' # required!
  66. # down - website is under criminal investigation by the UK
  67. # - name : filecrop
  68. # engine : filecrop
  69. # categories : files
  70. # shortcut : fc
  71. - name : 500px
  72. engine : www500px
  73. shortcut : px
  74. - name : 1x
  75. engine : www1x
  76. shortcut : 1x
  77. disabled : True
  78. - name : flickr
  79. categories : images
  80. shortcut : fl
  81. # You can use the engine using the official stable API, but you need an API key
  82. # See : https://www.flickr.com/services/apps/create/
  83. # engine : flickr
  84. # api_key: 'apikey' # required!
  85. # Or you can use the html non-stable engine, activated by default
  86. engine : flickr_noapi
  87. - name : general-file
  88. engine : generalfile
  89. shortcut : gf
  90. disabled : True
  91. - name : gigablast
  92. engine : gigablast
  93. shortcut : gb
  94. - name : github
  95. engine : github
  96. shortcut : gh
  97. - name : google
  98. engine : google
  99. shortcut : go
  100. - name : google images
  101. engine : google_images
  102. shortcut : goi
  103. - name : google news
  104. engine : google_news
  105. shortcut : gon
  106. - name : google play apps
  107. engine : xpath
  108. search_url : https://play.google.com/store/search?q={query}&c=apps
  109. url_xpath : //a[@class="title"]/@href
  110. title_xpath : //a[@class="title"]
  111. content_xpath : //a[@class="subtitle"]
  112. categories : files
  113. shortcut : gpa
  114. disabled : True
  115. - name : google play movies
  116. engine : xpath
  117. search_url : https://play.google.com/store/search?q={query}&c=movies
  118. url_xpath : //a[@class="title"]/@href
  119. title_xpath : //a[@class="title"]
  120. content_xpath : //a[@class="subtitle"]
  121. categories : videos
  122. shortcut : gpm
  123. disabled : True
  124. - name : google play music
  125. engine : xpath
  126. search_url : https://play.google.com/store/search?q={query}&c=music
  127. url_xpath : //a[@class="title"]/@href
  128. title_xpath : //a[@class="title"]
  129. content_xpath : //a[@class="subtitle"]
  130. categories : music
  131. shortcut : gps
  132. disabled : True
  133. - name : mixcloud
  134. engine : mixcloud
  135. shortcut : mc
  136. - name : openstreetmap
  137. engine : openstreetmap
  138. shortcut : osm
  139. - name : photon
  140. engine : photon
  141. shortcut : ph
  142. - name : piratebay
  143. engine : piratebay
  144. shortcut : tpb
  145. - name : kickass
  146. engine : kickass
  147. shortcut : ka
  148. - name : soundcloud
  149. engine : soundcloud
  150. shortcut : sc
  151. - name : stackoverflow
  152. engine : stackoverflow
  153. shortcut : st
  154. - name : searchcode doc
  155. engine : searchcode_doc
  156. shortcut : scd
  157. - name : searchcode code
  158. engine : searchcode_code
  159. shortcut : scc
  160. disabled : True
  161. - name : spotify
  162. engine : spotify
  163. shortcut : stf
  164. - name : subtitleseeker
  165. engine : subtitleseeker
  166. shortcut : ss
  167. # The language is an option. You can put any language written in english
  168. # Examples : English, French, German, Hungarian, Chinese...
  169. # language : English
  170. - name : startpage
  171. engine : startpage
  172. shortcut : sp
  173. # +30% page load time
  174. # - name : ixquick
  175. # engine : startpage
  176. # base_url : 'https://www.ixquick.com/'
  177. # search_url : 'https://www.ixquick.com/do/search'
  178. - name : twitter
  179. engine : twitter
  180. shortcut : tw
  181. # maybe in a fun category
  182. # - name : uncyclopedia
  183. # engine : mediawiki
  184. # shortcut : unc
  185. # base_url : https://uncyclopedia.wikia.com/
  186. # number_of_results : 5
  187. # tmp suspended - too slow, too many errors
  188. # - name : urbandictionary
  189. # engine : xpath
  190. # search_url : http://www.urbandictionary.com/define.php?term={query}
  191. # url_xpath : //div[@class="word"]//a/@href
  192. # title_xpath : //div[@class="word"]//a
  193. # content_xpath : //div[@class="definition"]
  194. # shortcut : ud
  195. - name : yahoo
  196. engine : yahoo
  197. shortcut : yh
  198. - name : yahoo news
  199. engine : yahoo_news
  200. shortcut : yhn
  201. - name : youtube
  202. engine : youtube
  203. shortcut : yt
  204. - name : dailymotion
  205. engine : dailymotion
  206. shortcut : dm
  207. - name : vimeo
  208. engine : vimeo
  209. locale : en-US
  210. shortcut : vm
  211. # - name : yacy
  212. # engine : yacy
  213. # shortcut : ya
  214. # base_url : 'http://localhost:8090'
  215. # number_of_results : 5
  216. # timeout : 3.0
  217. locales:
  218. en : English
  219. de : Deutsch
  220. he : Hebrew
  221. hu : Magyar
  222. fr : Français
  223. es : Español
  224. it : Italiano
  225. nl : Nederlands
  226. ja : 日本語 (Japanese)
  227. tr : Türkçe
  228. ru : Russian