settings.yml 6.5KB

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