settings.yml 5.6 KB

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