PageRenderTime 89ms CodeModel.GetById 37ms RepoModel.GetById 1ms app.codeStats 0ms

/searx/settings.yml

https://gitlab.com/lanodan/searx
YAML | 274 lines | 182 code | 49 blank | 43 comment | 0 complexity | c5971252231596899b2253850e9334c3 MD5 | raw file
  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 : blekko images
  32. engine : blekko_images
  33. locale : en-US
  34. shortcut : bli
  35. - name : btdigg
  36. engine : btdigg
  37. shortcut : bt
  38. - name : currency
  39. engine : currency_convert
  40. categories : general
  41. shortcut : cc
  42. - name : deezer
  43. engine : deezer
  44. shortcut : dz
  45. - name : deviantart
  46. engine : deviantart
  47. shortcut : da
  48. timeout: 3.0
  49. - name : ddg definitions
  50. engine : duckduckgo_definitions
  51. shortcut : ddd
  52. - name : digg
  53. engine : digg
  54. shortcut : dg
  55. - name : wikidata
  56. engine : wikidata
  57. shortcut : wd
  58. - name : duckduckgo
  59. engine : duckduckgo
  60. shortcut : ddg
  61. # api-key required: http://www.faroo.com/hp/api/api.html#key
  62. # - name : faroo
  63. # engine : faroo
  64. # shortcut : fa
  65. # api_key : 'apikey' # required!
  66. # down - website is under criminal investigation by the UK
  67. # - name : filecrop
  68. # engine : filecrop
  69. # categories : files
  70. # shortcut : fc
  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 : general-file
  88. engine : generalfile
  89. shortcut : gf
  90. disabled : True
  91. - name : gigablast
  92. engine : gigablast
  93. shortcut : gb
  94. - name : github
  95. engine : github
  96. shortcut : gh
  97. - name : google
  98. engine : google
  99. shortcut : go
  100. - name : google images
  101. engine : google_images
  102. shortcut : goi
  103. - name : google news
  104. engine : google_news
  105. shortcut : gon
  106. - name : google play apps
  107. engine : xpath
  108. search_url : https://play.google.com/store/search?q={query}&c=apps
  109. url_xpath : //a[@class="title"]/@href
  110. title_xpath : //a[@class="title"]
  111. content_xpath : //a[@class="subtitle"]
  112. categories : files
  113. shortcut : gpa
  114. disabled : True
  115. - name : google play movies
  116. engine : xpath
  117. search_url : https://play.google.com/store/search?q={query}&c=movies
  118. url_xpath : //a[@class="title"]/@href
  119. title_xpath : //a[@class="title"]
  120. content_xpath : //a[@class="subtitle"]
  121. categories : videos
  122. shortcut : gpm
  123. disabled : True
  124. - name : google play music
  125. engine : xpath
  126. search_url : https://play.google.com/store/search?q={query}&c=music
  127. url_xpath : //a[@class="title"]/@href
  128. title_xpath : //a[@class="title"]
  129. content_xpath : //a[@class="subtitle"]
  130. categories : music
  131. shortcut : gps
  132. disabled : True
  133. - name : mixcloud
  134. engine : mixcloud
  135. shortcut : mc
  136. - name : openstreetmap
  137. engine : openstreetmap
  138. shortcut : osm
  139. - name : photon
  140. engine : photon
  141. shortcut : ph
  142. - name : piratebay
  143. engine : piratebay
  144. shortcut : tpb
  145. - name : kickass
  146. engine : kickass
  147. shortcut : ka
  148. - name : soundcloud
  149. engine : soundcloud
  150. shortcut : sc
  151. - name : stackoverflow
  152. engine : stackoverflow
  153. shortcut : st
  154. - name : searchcode doc
  155. engine : searchcode_doc
  156. shortcut : scd
  157. - name : searchcode code
  158. engine : searchcode_code
  159. shortcut : scc
  160. disabled : True
  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