settings.yml 15 KB

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