settings.yml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442
  1. general:
  2. debug : False # Debug mode, only for development
  3. instance_name : "searx" # displayed name
  4. search:
  5. safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict
  6. autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "wikipedia" - leave blank to turn it off by default
  7. server:
  8. port : 8888
  9. bind_address : "127.0.0.1" # address to listen on
  10. secret_key : "ultrasecretkey" # change this!
  11. base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
  12. image_proxy : False # Proxying image results through searx
  13. ui:
  14. themes_path : "" # Custom ui themes path - leave it blank if you didn't change
  15. default_theme : oscar # ui theme
  16. default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
  17. outgoing: # communication with search engines
  18. request_timeout : 2.0 # seconds
  19. useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
  20. # uncomment below section if you want to use a proxy
  21. # see http://docs.python-requests.org/en/latest/user/advanced/#proxies
  22. # SOCKS proxies are not supported : see https://github.com/kennethreitz/requests/pull/478
  23. # proxies :
  24. # http : http://127.0.0.1:8080
  25. # https: http://127.0.0.1:8080
  26. # uncomment below section only if you have more than one network interface
  27. # which can be the source of outgoing search requests
  28. # source_ips:
  29. # - 1.1.1.1
  30. # - 1.1.1.2
  31. engines:
  32. - name : arch linux wiki
  33. engine : archlinux
  34. shortcut : al
  35. - name : wikipedia
  36. engine : mediawiki
  37. shortcut : wp
  38. base_url : 'https://{language}.wikipedia.org/'
  39. number_of_results : 1
  40. - name : bing
  41. engine : bing
  42. shortcut : bi
  43. - name : bing images
  44. engine : bing_images
  45. shortcut : bii
  46. - name : bing news
  47. engine : bing_news
  48. shortcut : bin
  49. - name : bitbucket
  50. engine : xpath
  51. paging : True
  52. search_url : https://bitbucket.org/repo/all/{pageno}?name={query}
  53. url_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]/@href
  54. title_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]
  55. content_xpath : //article[@class="repo-summary"]/p
  56. categories : it
  57. timeout : 4.0
  58. disabled : True
  59. shortcut : bb
  60. - name : btdigg
  61. engine : btdigg
  62. shortcut : bt
  63. - name : currency
  64. engine : currency_convert
  65. categories : general
  66. shortcut : cc
  67. - name : deezer
  68. engine : deezer
  69. shortcut : dz
  70. - name : deviantart
  71. engine : deviantart
  72. shortcut : da
  73. timeout: 3.0
  74. - name : ddg definitions
  75. engine : duckduckgo_definitions
  76. shortcut : ddd
  77. - name : digg
  78. engine : digg
  79. shortcut : dg
  80. - name : erowid
  81. engine : xpath
  82. paging : True
  83. first_page_num : 0
  84. page_size : 30
  85. search_url : https://www.erowid.org/search.php?q={query}&s={pageno}
  86. url_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
  87. title_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
  88. content_xpath : //dl[@class="results-list"]/dd[@class="result-details"]
  89. categories : general
  90. shortcut : ew
  91. disabled : True
  92. - name : wikidata
  93. engine : wikidata
  94. shortcut : wd
  95. - name : duckduckgo
  96. engine : duckduckgo
  97. shortcut : ddg
  98. # api-key required: http://www.faroo.com/hp/api/api.html#key
  99. # - name : faroo
  100. # engine : faroo
  101. # shortcut : fa
  102. # api_key : 'apikey' # required!
  103. - name : 500px
  104. engine : www500px
  105. shortcut : px
  106. - name : 1x
  107. engine : www1x
  108. shortcut : 1x
  109. disabled : True
  110. - name : fdroid
  111. engine : fdroid
  112. shortcut : fd
  113. disabled : True
  114. - name : flickr
  115. categories : images
  116. shortcut : fl
  117. # You can use the engine using the official stable API, but you need an API key
  118. # See : https://www.flickr.com/services/apps/create/
  119. # engine : flickr
  120. # api_key: 'apikey' # required!
  121. # Or you can use the html non-stable engine, activated by default
  122. engine : flickr_noapi
  123. - name : frinkiac
  124. engine : frinkiac
  125. shortcut : frk
  126. disabled : True
  127. - name : gigablast
  128. engine : gigablast
  129. shortcut : gb
  130. disabled: True
  131. - name : gitlab
  132. engine : xpath
  133. paging : True
  134. search_url : https://gitlab.com/search?page={pageno}&search={query}
  135. url_xpath : //li[@class="project-row"]//a[@class="project"]/@href
  136. title_xpath : //li[@class="project-row"]//span[contains(@class, "project-full-name")]
  137. content_xpath : //li[@class="project-row"]//div[@class="description"]/p
  138. categories : it
  139. shortcut : gl
  140. timeout : 5.0
  141. disabled : True
  142. - name : github
  143. engine : github
  144. shortcut : gh
  145. - name : google
  146. engine : google
  147. shortcut : go
  148. - name : google images
  149. engine : google_images
  150. shortcut : goi
  151. - name : google news
  152. engine : google_news
  153. shortcut : gon
  154. - name : google play apps
  155. engine : xpath
  156. search_url : https://play.google.com/store/search?q={query}&c=apps
  157. url_xpath : //a[@class="title"]/@href
  158. title_xpath : //a[@class="title"]
  159. content_xpath : //a[@class="subtitle"]
  160. categories : files
  161. shortcut : gpa
  162. disabled : True
  163. - name : google play movies
  164. engine : xpath
  165. search_url : https://play.google.com/store/search?q={query}&c=movies
  166. url_xpath : //a[@class="title"]/@href
  167. title_xpath : //a[@class="title"]
  168. content_xpath : //a[@class="subtitle"]
  169. categories : videos
  170. shortcut : gpm
  171. disabled : True
  172. - name : google play music
  173. engine : xpath
  174. search_url : https://play.google.com/store/search?q={query}&c=music
  175. url_xpath : //a[@class="title"]/@href
  176. title_xpath : //a[@class="title"]
  177. content_xpath : //a[@class="subtitle"]
  178. categories : music
  179. shortcut : gps
  180. disabled : True
  181. - name : geektimes
  182. engine : xpath
  183. paging : True
  184. search_url : https://geektimes.ru/search/page{pageno}/?q={query}
  185. url_xpath : //div[@class="search_results"]//a[@class="post_title"]/@href
  186. title_xpath : //div[@class="search_results"]//a[@class="post_title"]
  187. content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
  188. categories : it
  189. timeout : 4.0
  190. disabled : True
  191. shortcut : gt
  192. - name : habrahabr
  193. engine : xpath
  194. paging : True
  195. search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
  196. url_xpath : //div[@class="search_results"]//a[@class="post_title"]/@href
  197. title_xpath : //div[@class="search_results"]//a[@class="post_title"]
  198. content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
  199. categories : it
  200. timeout : 4.0
  201. disabled : True
  202. shortcut : habr
  203. - name : mixcloud
  204. engine : mixcloud
  205. shortcut : mc
  206. - name : nyaa
  207. engine : nyaa
  208. shortcut : nt
  209. - name : openstreetmap
  210. engine : openstreetmap
  211. shortcut : osm
  212. - name : photon
  213. engine : photon
  214. shortcut : ph
  215. - name : piratebay
  216. engine : piratebay
  217. shortcut : tpb
  218. disabled : True
  219. - name : qwant
  220. engine : qwant
  221. shortcut : qw
  222. categories : general
  223. disabled : True
  224. - name : qwant images
  225. engine : qwant
  226. shortcut : qwi
  227. categories : images
  228. - name : qwant news
  229. engine : qwant
  230. shortcut : qwn
  231. categories : news
  232. - name : qwant social
  233. engine : qwant
  234. shortcut : qws
  235. categories : social media
  236. - name : reddit
  237. engine : reddit
  238. shortcut : re
  239. page_size : 25
  240. timeout : 10.0
  241. disabled : True
  242. - name : kickass
  243. engine : kickass
  244. shortcut : ka
  245. - name : soundcloud
  246. engine : soundcloud
  247. shortcut : sc
  248. - name : stackoverflow
  249. engine : stackoverflow
  250. shortcut : st
  251. - name : searchcode doc
  252. engine : searchcode_doc
  253. shortcut : scd
  254. - name : searchcode code
  255. engine : searchcode_code
  256. shortcut : scc
  257. disabled : True
  258. - name : spotify
  259. engine : spotify
  260. shortcut : stf
  261. - name : subtitleseeker
  262. engine : subtitleseeker
  263. shortcut : ss
  264. # The language is an option. You can put any language written in english
  265. # Examples : English, French, German, Hungarian, Chinese...
  266. # language : English
  267. - name : startpage
  268. engine : startpage
  269. shortcut : sp
  270. timeout : 6.0
  271. disabled : True
  272. - name : ixquick
  273. engine : startpage
  274. base_url : 'https://www.ixquick.com/'
  275. search_url : 'https://www.ixquick.com/do/search'
  276. shortcut : iq
  277. timeout : 6.0
  278. disabled : True
  279. - name : swisscows
  280. engine : swisscows
  281. shortcut : sw
  282. disabled : True
  283. - name : tokyotoshokan
  284. engine : tokyotoshokan
  285. shortcut : tt
  286. timeout : 6.0
  287. disabled : True
  288. - name : torrentz
  289. engine : torrentz
  290. timeout : 5.0
  291. shortcut : to
  292. - name : twitter
  293. engine : twitter
  294. shortcut : tw
  295. # maybe in a fun category
  296. # - name : uncyclopedia
  297. # engine : mediawiki
  298. # shortcut : unc
  299. # base_url : https://uncyclopedia.wikia.com/
  300. # number_of_results : 5
  301. # tmp suspended - too slow, too many errors
  302. # - name : urbandictionary
  303. # engine : xpath
  304. # search_url : http://www.urbandictionary.com/define.php?term={query}
  305. # url_xpath : //div[@class="word"]//a/@href
  306. # title_xpath : //div[@class="word"]//a
  307. # content_xpath : //div[@class="definition"]
  308. # shortcut : ud
  309. - name : yahoo
  310. engine : yahoo
  311. shortcut : yh
  312. - name : yandex
  313. engine : yandex
  314. shortcut : yn
  315. disabled : True
  316. - name : yahoo news
  317. engine : yahoo_news
  318. shortcut : yhn
  319. - name : youtube
  320. shortcut : yt
  321. # You can use the engine using the official stable API, but you need an API key
  322. # See : https://console.developers.google.com/project
  323. # engine : youtube_api
  324. # api_key: 'apikey' # required!
  325. # Or you can use the html non-stable engine, activated by default
  326. engine : youtube_noapi
  327. - name : dailymotion
  328. engine : dailymotion
  329. shortcut : dm
  330. - name : vimeo
  331. engine : vimeo
  332. shortcut : vm
  333. - name : wolframalpha
  334. shortcut : wa
  335. # You can use the engine using the official stable API, but you need an API key
  336. # See : http://products.wolframalpha.com/api/
  337. # engine : wolframalpha_api
  338. # api_key: '' # required!
  339. engine : wolframalpha_noapi
  340. timeout: 6.0
  341. categories : science
  342. #The blekko technology and team have joined IBM Watson! -> https://blekko.com/
  343. # - name : blekko images
  344. # engine : blekko_images
  345. # locale : en-US
  346. # shortcut : bli
  347. # - name : yacy
  348. # engine : yacy
  349. # shortcut : ya
  350. # base_url : 'http://localhost:8090'
  351. # number_of_results : 5
  352. # timeout : 3.0
  353. locales:
  354. en : English
  355. bg : Български (Bulgarian)
  356. de : Deutsch (German)
  357. el_GR : Ελληνικά (Greek_Greece)
  358. eo : Esperanto (Esperanto)
  359. es : Español (Spanish)
  360. fr : Français (French)
  361. he : עברית (Hebrew)
  362. hu : Magyar (Hungarian)
  363. it : Italiano (Italian)
  364. ja : 日本語 (Japanese)
  365. nl : Nederlands (Dutch)
  366. pt : Português (Portuguese)
  367. pt_BR : Português (Portuguese_Brazil)
  368. ro : Română (Romanian)
  369. ru : Русский (Russian)
  370. tr : Türkçe (Turkish)
  371. zh : 中文 (Chinese)