settings.yml 6.3 KB

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