settings.yml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609
  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. - name : etymonline
  134. engine : xpath
  135. paging : True
  136. search_url : http://etymonline.com/?search={query}&p={pageno}
  137. url_xpath : //dt/a[1]/@href
  138. title_xpath : //dt
  139. content_xpath : //dd
  140. suggestion_xpath : //a[@class="crossreference"]
  141. first_page_num : 0
  142. shortcut : et
  143. # api-key required: http://www.faroo.com/hp/api/api.html#key
  144. # - name : faroo
  145. # engine : faroo
  146. # shortcut : fa
  147. # api_key : 'apikey' # required!
  148. - name : 500px
  149. engine : www500px
  150. shortcut : px
  151. - name : 1x
  152. engine : www1x
  153. shortcut : 1x
  154. disabled : True
  155. - name : fdroid
  156. engine : fdroid
  157. shortcut : fd
  158. disabled : True
  159. - name : flickr
  160. categories : images
  161. shortcut : fl
  162. # You can use the engine using the official stable API, but you need an API key
  163. # See : https://www.flickr.com/services/apps/create/
  164. # engine : flickr
  165. # api_key: 'apikey' # required!
  166. # Or you can use the html non-stable engine, activated by default
  167. engine : flickr_noapi
  168. - name : frinkiac
  169. engine : frinkiac
  170. shortcut : frk
  171. disabled : True
  172. - name : gigablast
  173. engine : gigablast
  174. shortcut : gb
  175. timeout : 3.0
  176. disabled: True
  177. - name : gitlab
  178. engine : xpath
  179. paging : True
  180. search_url : https://gitlab.com/search?page={pageno}&search={query}
  181. url_xpath : //li[@class="project-row"]//a[@class="project"]/@href
  182. title_xpath : //li[@class="project-row"]//span[contains(@class, "project-full-name")]
  183. content_xpath : //li[@class="project-row"]//div[@class="description"]/p
  184. categories : it
  185. shortcut : gl
  186. timeout : 5.0
  187. disabled : True
  188. - name : github
  189. engine : github
  190. shortcut : gh
  191. - name : google
  192. engine : google
  193. shortcut : go
  194. - name : google images
  195. engine : google_images
  196. shortcut : goi
  197. - name : google news
  198. engine : google_news
  199. shortcut : gon
  200. - name : google scholar
  201. engine : xpath
  202. paging : True
  203. search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
  204. results_xpath : //div[@class="gs_r"]/div[@class="gs_ri"]
  205. url_xpath : .//h3/a/@href
  206. title_xpath : .//h3/a
  207. content_xpath : .//div[@class="gs_rs"]
  208. suggestion_xpath : //div[@id="gs_qsuggest"]/ul/li
  209. page_size : 10
  210. first_page_num : 0
  211. categories : science
  212. shortcut : gos
  213. - name : google play apps
  214. engine : xpath
  215. search_url : https://play.google.com/store/search?q={query}&c=apps
  216. url_xpath : //a[@class="title"]/@href
  217. title_xpath : //a[@class="title"]
  218. content_xpath : //a[@class="subtitle"]
  219. categories : files
  220. shortcut : gpa
  221. disabled : True
  222. - name : google play movies
  223. engine : xpath
  224. search_url : https://play.google.com/store/search?q={query}&c=movies
  225. url_xpath : //a[@class="title"]/@href
  226. title_xpath : //a[@class="title"]/@title
  227. content_xpath : //a[contains(@class, "subtitle")]
  228. categories : videos
  229. shortcut : gpm
  230. disabled : True
  231. - name : google play music
  232. engine : xpath
  233. search_url : https://play.google.com/store/search?q={query}&c=music
  234. url_xpath : //a[@class="title"]/@href
  235. title_xpath : //a[@class="title"]
  236. content_xpath : //a[@class="subtitle"]
  237. categories : music
  238. shortcut : gps
  239. disabled : True
  240. - name : geektimes
  241. engine : xpath
  242. paging : True
  243. search_url : https://geektimes.ru/search/page{pageno}/?q={query}
  244. url_xpath : //div[@class="search_results"]//a[@class="post__title_link"]/@href
  245. title_xpath : //div[@class="search_results"]//a[@class="post__title_link"]
  246. content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
  247. categories : it
  248. timeout : 4.0
  249. disabled : True
  250. shortcut : gt
  251. - name : habrahabr
  252. engine : xpath
  253. paging : True
  254. search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
  255. url_xpath : //div[@class="search_results"]//a[contains(@class, "post__title_link")]/@href
  256. title_xpath : //div[@class="search_results"]//a[contains(@class, "post__title_link")]
  257. content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
  258. categories : it
  259. timeout : 4.0
  260. disabled : True
  261. shortcut : habr
  262. - name : hoogle
  263. engine : json_engine
  264. paging : True
  265. search_url : https://www.haskell.org/hoogle/?mode=json&hoogle={query}&start={pageno}
  266. results_query : results
  267. url_query : location
  268. title_query : self
  269. content_query : docs
  270. page_size : 20
  271. categories : it
  272. shortcut : ho
  273. - name : ina
  274. engine : ina
  275. shortcut : in
  276. timeout : 6.0
  277. disabled : True
  278. - name: kickass
  279. engine : kickass
  280. shortcut : kc
  281. timeout : 4.0
  282. disabled : True
  283. - name : lobste.rs
  284. engine : xpath
  285. search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
  286. results_xpath : //li[contains(@class, "story")]
  287. url_xpath : .//span[@class="link"]/a/@href
  288. title_xpath : .//span[@class="link"]/a
  289. content_xpath : .//a[@class="domain"]
  290. categories : it
  291. shortcut : lo
  292. - name : microsoft academic
  293. engine : json_engine
  294. paging : True
  295. search_url : https://academic.microsoft.com/api/search/GetEntityResults?query=%40{query}%40&filters=&offset={pageno}&limit=8&correlationId=undefined
  296. results_query : results
  297. url_query : u
  298. title_query : dn
  299. content_query : d
  300. page_size : 8
  301. first_page_num : 0
  302. categories : science
  303. shortcut : ma
  304. - name : mixcloud
  305. engine : mixcloud
  306. shortcut : mc
  307. - name : nyaa
  308. engine : nyaa
  309. shortcut : nt
  310. disabled : True
  311. - name : openstreetmap
  312. engine : openstreetmap
  313. shortcut : osm
  314. - name : openrepos
  315. engine : xpath
  316. paging : True
  317. search_url : https://openrepos.net/search/node/{query}?page={pageno}
  318. url_xpath : //li[@class="search-result"]//h3[@class="title"]/a/@href
  319. title_xpath : //li[@class="search-result"]//h3[@class="title"]/a
  320. content_xpath : //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  321. categories : files
  322. timeout : 4.0
  323. disabled : True
  324. shortcut : or
  325. - name : pdbe
  326. engine : pdbe
  327. shortcut : pdb
  328. # Hide obsolete PDB entries.
  329. # Default is not to hide obsolete structures
  330. # hide_obsolete : False
  331. - name : photon
  332. engine : photon
  333. shortcut : ph
  334. - name : piratebay
  335. engine : piratebay
  336. shortcut : tpb
  337. url: https://pirateproxy.red/
  338. timeout : 3.0
  339. - name : qwant
  340. engine : qwant
  341. shortcut : qw
  342. categories : general
  343. disabled : True
  344. - name : qwant images
  345. engine : qwant
  346. shortcut : qwi
  347. categories : images
  348. - name : qwant news
  349. engine : qwant
  350. shortcut : qwn
  351. categories : news
  352. - name : qwant social
  353. engine : qwant
  354. shortcut : qws
  355. categories : social media
  356. - name : reddit
  357. engine : reddit
  358. shortcut : re
  359. page_size : 25
  360. timeout : 10.0
  361. disabled : True
  362. - name : scanr structures
  363. shortcut: scs
  364. engine : scanr_structures
  365. disabled : True
  366. - name : soundcloud
  367. engine : soundcloud
  368. shortcut : sc
  369. - name : stackoverflow
  370. engine : stackoverflow
  371. shortcut : st
  372. - name : searchcode doc
  373. engine : searchcode_doc
  374. shortcut : scd
  375. - name : searchcode code
  376. engine : searchcode_code
  377. shortcut : scc
  378. disabled : True
  379. - name : spotify
  380. engine : spotify
  381. shortcut : stf
  382. - name : subtitleseeker
  383. engine : subtitleseeker
  384. shortcut : ss
  385. # The language is an option. You can put any language written in english
  386. # Examples : English, French, German, Hungarian, Chinese...
  387. # language : English
  388. - name : startpage
  389. engine : startpage
  390. shortcut : sp
  391. timeout : 6.0
  392. disabled : True
  393. - name : ixquick
  394. engine : startpage
  395. base_url : 'https://www.ixquick.eu/'
  396. search_url : 'https://www.ixquick.eu/do/search'
  397. shortcut : iq
  398. timeout : 6.0
  399. disabled : True
  400. - name : swisscows
  401. engine : swisscows
  402. shortcut : sw
  403. disabled : True
  404. - name : tokyotoshokan
  405. engine : tokyotoshokan
  406. shortcut : tt
  407. timeout : 6.0
  408. disabled : True
  409. - name : twitter
  410. engine : twitter
  411. shortcut : tw
  412. # maybe in a fun category
  413. # - name : uncyclopedia
  414. # engine : mediawiki
  415. # shortcut : unc
  416. # base_url : https://uncyclopedia.wikia.com/
  417. # number_of_results : 5
  418. # tmp suspended - too slow, too many errors
  419. # - name : urbandictionary
  420. # engine : xpath
  421. # search_url : http://www.urbandictionary.com/define.php?term={query}
  422. # url_xpath : //*[@class="word"]/@href
  423. # title_xpath : //*[@class="def-header"]
  424. # content_xpath : //*[@class="meaning"]
  425. # shortcut : ud
  426. - name : yahoo
  427. engine : yahoo
  428. shortcut : yh
  429. - name : yandex
  430. engine : yandex
  431. shortcut : yn
  432. disabled : True
  433. - name : yahoo news
  434. engine : yahoo_news
  435. shortcut : yhn
  436. - name : youtube
  437. shortcut : yt
  438. # You can use the engine using the official stable API, but you need an API key
  439. # See : https://console.developers.google.com/project
  440. # engine : youtube_api
  441. # api_key: 'apikey' # required!
  442. # Or you can use the html non-stable engine, activated by default
  443. engine : youtube_noapi
  444. - name : dailymotion
  445. engine : dailymotion
  446. shortcut : dm
  447. - name : vimeo
  448. engine : vimeo
  449. shortcut : vm
  450. - name : wolframalpha
  451. shortcut : wa
  452. # You can use the engine using the official stable API, but you need an API key
  453. # See : http://products.wolframalpha.com/api/
  454. # engine : wolframalpha_api
  455. # api_key: '' # required!
  456. engine : wolframalpha_noapi
  457. timeout: 6.0
  458. categories : science
  459. - name : seedpeer
  460. engine : seedpeer
  461. shortcut: speu
  462. categories: files, music, videos
  463. disabled: True
  464. - name : dictzone
  465. engine : dictzone
  466. shortcut : dc
  467. - name : mymemory translated
  468. engine : translated
  469. shortcut : tl
  470. timeout : 5.0
  471. disabled : True
  472. # You can use without an API key, but you are limited to 1000 words/day
  473. # See : http://mymemory.translated.net/doc/usagelimits.php
  474. # api_key : ''
  475. - name : voat
  476. engine: xpath
  477. shortcut: vo
  478. categories: social media
  479. search_url : https://voat.co/search?q={query}
  480. url_xpath : //p[contains(@class, "title")]/a/@href
  481. title_xpath : //p[contains(@class, "title")]/a
  482. content_xpath : //span[@class="domain"]
  483. timeout : 10.0
  484. disabled : True
  485. #The blekko technology and team have joined IBM Watson! -> https://blekko.com/
  486. # - name : blekko images
  487. # engine : blekko_images
  488. # locale : en-US
  489. # shortcut : bli
  490. # - name : yacy
  491. # engine : yacy
  492. # shortcut : ya
  493. # base_url : 'http://localhost:8090'
  494. # number_of_results : 5
  495. # timeout : 3.0
  496. # Doku engine lets you access to any Doku wiki instance:
  497. # A public one or a privete/corporate one.
  498. # - name : ubuntuwiki
  499. # engine : doku
  500. # shortcut : uw
  501. # base_url : 'http://doc.ubuntu-fr.org'
  502. locales:
  503. en : English
  504. bg : Български (Bulgarian)
  505. de : Deutsch (German)
  506. el_GR : Ελληνικά (Greek_Greece)
  507. eo : Esperanto (Esperanto)
  508. es : Español (Spanish)
  509. fr : Français (French)
  510. he : עברית (Hebrew)
  511. hu : Magyar (Hungarian)
  512. it : Italiano (Italian)
  513. ja : 日本語 (Japanese)
  514. nl : Nederlands (Dutch)
  515. pt : Português (Portuguese)
  516. pt_BR : Português (Portuguese_Brazil)
  517. ro : Română (Romanian)
  518. ru : Русский (Russian)
  519. tr : Türkçe (Turkish)
  520. zh : 中文 (Chinese)