settings.yml 5.5 KB

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