settings.yml 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
  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 also supported: see http://docs.python-requests.org/en/master/user/advanced/#socks
  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 : archive is
  38. engine : xpath
  39. search_url : https://archive.is/{query}
  40. url_xpath : (//div[@class="TEXT-BLOCK"]/a)/@href
  41. title_xpath : (//div[@class="TEXT-BLOCK"]/a)
  42. content_xpath : //div[@class="TEXT-BLOCK"]/ul/li
  43. categories : general
  44. timeout : 7.0
  45. disabled : True
  46. shortcut : ai
  47. - name : base
  48. engine : base
  49. shortcut : bs
  50. - name : wikipedia
  51. engine : wikipedia
  52. shortcut : wp
  53. base_url : 'https://{language}.wikipedia.org/'
  54. - name : bing
  55. engine : bing
  56. shortcut : bi
  57. - name : bing images
  58. engine : bing_images
  59. shortcut : bii
  60. - name : bing news
  61. engine : bing_news
  62. shortcut : bin
  63. - name : bitbucket
  64. engine : xpath
  65. paging : True
  66. search_url : https://bitbucket.org/repo/all/{pageno}?name={query}
  67. url_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]/@href
  68. title_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]
  69. content_xpath : //article[@class="repo-summary"]/p
  70. categories : it
  71. timeout : 4.0
  72. disabled : True
  73. shortcut : bb
  74. - name : crossref
  75. engine : json_engine
  76. paging : True
  77. search_url : http://search.crossref.org/dois?q={query}&page={pageno}
  78. url_query : doi
  79. title_query : title
  80. content_query : fullCitation
  81. categories : science
  82. shortcut : cr
  83. - name : currency
  84. engine : currency_convert
  85. categories : general
  86. shortcut : cc
  87. - name : deezer
  88. engine : deezer
  89. shortcut : dz
  90. - name : deviantart
  91. engine : deviantart
  92. shortcut : da
  93. timeout: 3.0
  94. - name : ddg definitions
  95. engine : duckduckgo_definitions
  96. shortcut : ddd
  97. weight : 2
  98. disabled : True
  99. - name : digbt
  100. engine : digbt
  101. shortcut : dbt
  102. timeout : 6.0
  103. disabled : True
  104. - name : digg
  105. engine : digg
  106. shortcut : dg
  107. - name : erowid
  108. engine : xpath
  109. paging : True
  110. first_page_num : 0
  111. page_size : 30
  112. search_url : https://www.erowid.org/search.php?q={query}&s={pageno}
  113. url_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
  114. title_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
  115. content_xpath : //dl[@class="results-list"]/dd[@class="result-details"]
  116. categories : general
  117. shortcut : ew
  118. disabled : True
  119. - name : wikidata
  120. engine : wikidata
  121. shortcut : wd
  122. weight : 2
  123. - name : duckduckgo
  124. engine : duckduckgo
  125. shortcut : ddg
  126. disabled : True
  127. # api-key required: http://www.faroo.com/hp/api/api.html#key
  128. # - name : faroo
  129. # engine : faroo
  130. # shortcut : fa
  131. # api_key : 'apikey' # required!
  132. - name : 500px
  133. engine : www500px
  134. shortcut : px
  135. - name : 1x
  136. engine : www1x
  137. shortcut : 1x
  138. disabled : True
  139. - name : fdroid
  140. engine : fdroid
  141. shortcut : fd
  142. disabled : True
  143. - name : flickr
  144. categories : images
  145. shortcut : fl
  146. # You can use the engine using the official stable API, but you need an API key
  147. # See : https://www.flickr.com/services/apps/create/
  148. # engine : flickr
  149. # api_key: 'apikey' # required!
  150. # Or you can use the html non-stable engine, activated by default
  151. engine : flickr_noapi
  152. - name : frinkiac
  153. engine : frinkiac
  154. shortcut : frk
  155. disabled : True
  156. - name : gigablast
  157. engine : gigablast
  158. shortcut : gb
  159. disabled: True
  160. - name : gitlab
  161. engine : xpath
  162. paging : True
  163. search_url : https://gitlab.com/search?page={pageno}&search={query}
  164. url_xpath : //li[@class="project-row"]//a[@class="project"]/@href
  165. title_xpath : //li[@class="project-row"]//span[contains(@class, "project-full-name")]
  166. content_xpath : //li[@class="project-row"]//div[@class="description"]/p
  167. categories : it
  168. shortcut : gl
  169. timeout : 5.0
  170. disabled : True
  171. - name : github
  172. engine : github
  173. shortcut : gh
  174. - name : google
  175. engine : google
  176. shortcut : go
  177. - name : google images
  178. engine : google_images
  179. shortcut : goi
  180. - name : google news
  181. engine : google_news
  182. shortcut : gon
  183. - name : google scholar
  184. engine : xpath
  185. paging : True
  186. search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
  187. results_xpath : //div[@class="gs_r"]/div[@class="gs_ri"]
  188. url_xpath : .//h3/a/@href
  189. title_xpath : .//h3/a
  190. content_xpath : .//div[@class="gs_rs"]
  191. suggestion_xpath : //div[@id="gs_qsuggest"]/ul/li
  192. page_size : 10
  193. first_page_num : 0
  194. categories : science
  195. shortcut : gos
  196. - name : google play apps
  197. engine : xpath
  198. search_url : https://play.google.com/store/search?q={query}&c=apps
  199. url_xpath : //a[@class="title"]/@href
  200. title_xpath : //a[@class="title"]
  201. content_xpath : //a[@class="subtitle"]
  202. categories : files
  203. shortcut : gpa
  204. disabled : True
  205. - name : google play movies
  206. engine : xpath
  207. search_url : https://play.google.com/store/search?q={query}&c=movies
  208. url_xpath : //a[@class="title"]/@href
  209. title_xpath : //a[@class="title"]
  210. content_xpath : //a[@class="subtitle"]
  211. categories : videos
  212. shortcut : gpm
  213. disabled : True
  214. - name : google play music
  215. engine : xpath
  216. search_url : https://play.google.com/store/search?q={query}&c=music
  217. url_xpath : //a[@class="title"]/@href
  218. title_xpath : //a[@class="title"]
  219. content_xpath : //a[@class="subtitle"]
  220. categories : music
  221. shortcut : gps
  222. disabled : True
  223. - name : geektimes
  224. engine : xpath
  225. paging : True
  226. search_url : https://geektimes.ru/search/page{pageno}/?q={query}
  227. url_xpath : //div[@class="search_results"]//a[@class="post__title_link"]/@href
  228. title_xpath : //div[@class="search_results"]//a[@class="post__title_link"]
  229. content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
  230. categories : it
  231. timeout : 4.0
  232. disabled : True
  233. shortcut : gt
  234. - name : habrahabr
  235. engine : xpath
  236. paging : True
  237. search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
  238. url_xpath : //div[@class="search_results"]//a[@class="post_title"]/@href
  239. title_xpath : //div[@class="search_results"]//a[@class="post_title"]
  240. content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
  241. categories : it
  242. timeout : 4.0
  243. disabled : True
  244. shortcut : habr
  245. - name : hoogle
  246. engine : json_engine
  247. paging : True
  248. search_url : https://www.haskell.org/hoogle/?mode=json&hoogle={query}&start={pageno}
  249. results_query : results
  250. url_query : location
  251. title_query : self
  252. content_query : docs
  253. page_size : 20
  254. categories : it
  255. shortcut : ho
  256. - name : ina
  257. engine : ina
  258. shortcut : in
  259. timeout : 6.0
  260. disabled : True
  261. - name : microsoft academic
  262. engine : json_engine
  263. paging : True
  264. search_url : https://academic.microsoft.com/api/search/GetEntityResults?query=%40{query}%40&filters=&offset={pageno}&limit=8&correlationId=undefined
  265. results_query : results
  266. url_query : u
  267. title_query : dn
  268. content_query : d
  269. page_size : 8
  270. first_page_num : 0
  271. categories : science
  272. shortcut : ma
  273. - name : mixcloud
  274. engine : mixcloud
  275. shortcut : mc
  276. - name : nyaa
  277. engine : nyaa
  278. shortcut : nt
  279. disabled : True
  280. - name : openstreetmap
  281. engine : openstreetmap
  282. shortcut : osm
  283. - name : openrepos
  284. engine : xpath
  285. paging : True
  286. search_url : https://openrepos.net/search/node/{query}?page={pageno}
  287. url_xpath : //li[@class="search-result"]//h3[@class="title"]/a/@href
  288. title_xpath : //li[@class="search-result"]//h3[@class="title"]/a
  289. content_xpath : //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  290. categories : files
  291. timeout : 4.0
  292. disabled : True
  293. shortcut : or
  294. - name : photon
  295. engine : photon
  296. shortcut : ph
  297. - name : piratebay
  298. engine : piratebay
  299. shortcut : tpb
  300. url: https://pirateproxy.red/
  301. timeout : 3.0
  302. - name : qwant
  303. engine : qwant
  304. shortcut : qw
  305. categories : general
  306. disabled : True
  307. - name : qwant images
  308. engine : qwant
  309. shortcut : qwi
  310. categories : images
  311. - name : qwant news
  312. engine : qwant
  313. shortcut : qwn
  314. categories : news
  315. - name : qwant social
  316. engine : qwant
  317. shortcut : qws
  318. categories : social media
  319. - name : reddit
  320. engine : reddit
  321. shortcut : re
  322. page_size : 25
  323. timeout : 10.0
  324. disabled : True
  325. - name : scanr_structures
  326. shortcut: scs
  327. engine : scanr_structures
  328. disabled : True
  329. - name : soundcloud
  330. engine : soundcloud
  331. shortcut : sc
  332. - name : stackoverflow
  333. engine : stackoverflow
  334. shortcut : st
  335. - name : searchcode doc
  336. engine : searchcode_doc
  337. shortcut : scd
  338. - name : searchcode code
  339. engine : searchcode_code
  340. shortcut : scc
  341. disabled : True
  342. - name : spotify
  343. engine : spotify
  344. shortcut : stf
  345. - name : subtitleseeker
  346. engine : subtitleseeker
  347. shortcut : ss
  348. # The language is an option. You can put any language written in english
  349. # Examples : English, French, German, Hungarian, Chinese...
  350. # language : English
  351. - name : startpage
  352. engine : startpage
  353. shortcut : sp
  354. timeout : 6.0
  355. disabled : True
  356. - name : ixquick
  357. engine : startpage
  358. base_url : 'https://www.ixquick.com/'
  359. search_url : 'https://www.ixquick.com/do/search'
  360. shortcut : iq
  361. timeout : 6.0
  362. disabled : True
  363. - name : swisscows
  364. engine : swisscows
  365. shortcut : sw
  366. disabled : True
  367. - name : tokyotoshokan
  368. engine : tokyotoshokan
  369. shortcut : tt
  370. timeout : 6.0
  371. disabled : True
  372. - name : twitter
  373. engine : twitter
  374. shortcut : tw
  375. # maybe in a fun category
  376. # - name : uncyclopedia
  377. # engine : mediawiki
  378. # shortcut : unc
  379. # base_url : https://uncyclopedia.wikia.com/
  380. # number_of_results : 5
  381. # tmp suspended - too slow, too many errors
  382. # - name : urbandictionary
  383. # engine : xpath
  384. # search_url : http://www.urbandictionary.com/define.php?term={query}
  385. # url_xpath : //div[@class="word"]//a/@href
  386. # title_xpath : //div[@class="word"]//a
  387. # content_xpath : //div[@class="definition"]
  388. # shortcut : ud
  389. - name : yahoo
  390. engine : yahoo
  391. shortcut : yh
  392. - name : yandex
  393. engine : yandex
  394. shortcut : yn
  395. disabled : True
  396. - name : yahoo news
  397. engine : yahoo_news
  398. shortcut : yhn
  399. - name : youtube
  400. shortcut : yt
  401. # You can use the engine using the official stable API, but you need an API key
  402. # See : https://console.developers.google.com/project
  403. # engine : youtube_api
  404. # api_key: 'apikey' # required!
  405. # Or you can use the html non-stable engine, activated by default
  406. engine : youtube_noapi
  407. - name : dailymotion
  408. engine : dailymotion
  409. shortcut : dm
  410. - name : vimeo
  411. engine : vimeo
  412. shortcut : vm
  413. - name : wolframalpha
  414. shortcut : wa
  415. # You can use the engine using the official stable API, but you need an API key
  416. # See : http://products.wolframalpha.com/api/
  417. # engine : wolframalpha_api
  418. # api_key: '' # required!
  419. engine : wolframalpha_noapi
  420. timeout: 6.0
  421. categories : science
  422. - name : dictzone
  423. engine : dictzone
  424. shortcut : dc
  425. - name : mymemory translated
  426. engine : translated
  427. shortcut : tl
  428. timeout : 5.0
  429. disabled : True
  430. # You can use without an API key, but you are limited to 1000 words/day
  431. # See : http://mymemory.translated.net/doc/usagelimits.php
  432. # api_key : ''
  433. #The blekko technology and team have joined IBM Watson! -> https://blekko.com/
  434. # - name : blekko images
  435. # engine : blekko_images
  436. # locale : en-US
  437. # shortcut : bli
  438. # - name : yacy
  439. # engine : yacy
  440. # shortcut : ya
  441. # base_url : 'http://localhost:8090'
  442. # number_of_results : 5
  443. # timeout : 3.0
  444. # Doku engine lets you access to any Doku wiki instance:
  445. # A public one or a privete/corporate one.
  446. # - name : ubuntuwiki
  447. # engine : doku
  448. # shortcut : uw
  449. # base_url : 'http://doc.ubuntu-fr.org'
  450. locales:
  451. en : English
  452. bg : Български (Bulgarian)
  453. de : Deutsch (German)
  454. el_GR : Ελληνικά (Greek_Greece)
  455. eo : Esperanto (Esperanto)
  456. es : Español (Spanish)
  457. fr : Français (French)
  458. he : עברית (Hebrew)
  459. hu : Magyar (Hungarian)
  460. it : Italiano (Italian)
  461. ja : 日本語 (Japanese)
  462. nl : Nederlands (Dutch)
  463. pt : Português (Portuguese)
  464. pt_BR : Português (Portuguese_Brazil)
  465. ro : Română (Romanian)
  466. ru : Русский (Russian)
  467. tr : Türkçe (Turkish)
  468. zh : 中文 (Chinese)