settings.yml 5.7 KB

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