settings.yml 6.2 KB

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