settings.yml 5.4 KB

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