settings.yml 11 KB

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