settings.yml 5.9 KB

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