searx-settings.yml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755
  1. general:
  2. debug: False # Debug mode, only for development
  3. instance_name: "Search @ Unbl.ink" # displayed name
  4. search:
  5. safe_search: 0
  6. autocomplete: "duckduckgo"
  7. language: "en-US"
  8. ban_time_on_fail: 5
  9. max_ban_time_on_fail: 20
  10. method: "GET"
  11. server:
  12. port: 8888
  13. bind_address: "127.0.0.1"
  14. secret_key: "9823ljasd0fj20jlxdzl;kjsdf"
  15. base_url: False
  16. image_proxy: True
  17. http_protocol_version: "1.0"
  18. ui:
  19. static_path: ""
  20. templates_path: ""
  21. default_theme: courgette
  22. default_locale: ""
  23. theme_args:
  24. courgette_style: blue
  25. result_proxy:
  26. url: https://morty.unbl.ink/
  27. key: f4ea81d8dcf92569047b35da554c781
  28. outgoing:
  29. request_timeout: 3.0
  30. useragent_suffix: ""
  31. pool_connections: 100
  32. pool_maxsize: 10
  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: arxiv
  48. engine: arxiv
  49. shortcut: arx
  50. categories: science
  51. timeout: 4.0
  52. - name: base
  53. engine: base
  54. shortcut: bs
  55. - name: wikipedia
  56. engine: wikipedia
  57. shortcut: wp
  58. base_url: "https://{language}.wikipedia.org/"
  59. - name: bing
  60. engine: bing
  61. shortcut: bi
  62. - name: bing images
  63. engine: bing_images
  64. shortcut: bii
  65. - name: bing news
  66. engine: bing_news
  67. shortcut: bin
  68. - name: bing videos
  69. engine: bing_videos
  70. shortcut: biv
  71. - name: bitbucket
  72. engine: xpath
  73. paging: True
  74. search_url: https://bitbucket.org/repo/all/{pageno}?name={query}
  75. url_xpath: //article[@class="repo-summary"]//a[@class="repo-link"]/@href
  76. title_xpath: //article[@class="repo-summary"]//a[@class="repo-link"]
  77. content_xpath: //article[@class="repo-summary"]/p
  78. categories: it
  79. timeout: 4.0
  80. disabled: True
  81. shortcut: bb
  82. - name: ccc-tv
  83. engine: xpath
  84. paging: False
  85. search_url: https://media.ccc.de/search/?q={query}
  86. url_xpath: //div[@class="caption"]/h3/a/@href
  87. title_xpath: //div[@class="caption"]/h3/a/text()
  88. content_xpath: //div[@class="caption"]/h4/@title
  89. categories: videos
  90. disabled: True
  91. shortcut: c3tv
  92. - name: crossref
  93. engine: json_engine
  94. paging: True
  95. search_url: http://search.crossref.org/dois?q={query}&page={pageno}
  96. url_query: doi
  97. title_query: title
  98. content_query: fullCitation
  99. categories: science
  100. shortcut: cr
  101. - name: currency
  102. engine: currency_convert
  103. categories: general
  104. shortcut: cc
  105. - name: deezer
  106. engine: deezer
  107. shortcut: dz
  108. - name: deviantart
  109. engine: deviantart
  110. shortcut: da
  111. timeout: 3.0
  112. - name: ddg definitions
  113. engine: duckduckgo_definitions
  114. shortcut: ddd
  115. weight: 2
  116. disabled: False
  117. - name: digbt
  118. engine: digbt
  119. shortcut: dbt
  120. timeout: 6.0
  121. disabled: True
  122. - name: digg
  123. engine: digg
  124. shortcut: dg
  125. - name: erowid
  126. engine: xpath
  127. paging: True
  128. first_page_num: 0
  129. page_size: 30
  130. search_url: https://www.erowid.org/search.php?q={query}&s={pageno}
  131. url_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
  132. title_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
  133. content_xpath: //dl[@class="results-list"]/dd[@class="result-details"]
  134. categories: general
  135. shortcut: ew
  136. disabled: True
  137. - name: wikidata
  138. engine: wikidata
  139. shortcut: wd
  140. timeout: 3.0
  141. weight: 2
  142. - name: duckduckgo
  143. engine: duckduckgo
  144. shortcut: ddg
  145. disabled: False
  146. - name: duckduckgo images
  147. engine: duckduckgo_images
  148. shortcut: ddi
  149. timeout: 3.0
  150. disabled: True
  151. - name: etymonline
  152. engine: xpath
  153. paging: True
  154. search_url: http://etymonline.com/?search={query}&p={pageno}
  155. url_xpath: //a[contains(@class, "word--")]/@href
  156. title_xpath: //p[contains(@class, "word__name--")]/text()
  157. content_xpath: //section[contains(@class, "word__defination")]/object
  158. first_page_num: 0
  159. shortcut: et
  160. disabled: True
  161. - name: faroo
  162. engine: faroo
  163. shortcut: fa
  164. disabled: True
  165. - name: 1x
  166. engine: www1x
  167. shortcut: 1x
  168. disabled: True
  169. - name: fdroid
  170. engine: fdroid
  171. shortcut: fd
  172. disabled: True
  173. - name: flickr
  174. categories: images
  175. shortcut: fl
  176. # You can use the engine using the official stable API, but you need an API key
  177. # See : https://www.flickr.com/services/apps/create/
  178. # engine : flickr
  179. # api_key: 'apikey' # required!
  180. # Or you can use the html non-stable engine, activated by default
  181. engine: flickr_noapi
  182. - name: free software directory
  183. engine: mediawiki
  184. shortcut: fsd
  185. categories: it
  186. base_url: https://directory.fsf.org/
  187. number_of_results: 5
  188. # what part of a page matches the query string: title, text, nearmatch
  189. # title - query matches title, text - query matches the text of page, nearmatch - nearmatch in title
  190. search_type: title
  191. timeout: 5.0
  192. disabled: True
  193. - name: frinkiac
  194. engine: frinkiac
  195. shortcut: frk
  196. disabled: True
  197. - name: genius
  198. engine: genius
  199. shortcut: gen
  200. - name: gigablast
  201. engine: gigablast
  202. shortcut: gb
  203. timeout: 3.0
  204. disabled: True
  205. - name: gentoo
  206. engine: gentoo
  207. shortcut: ge
  208. - name: gitlab
  209. engine: json_engine
  210. paging: True
  211. search_url: https://gitlab.com/api/v4/projects?search={query}&page={pageno}
  212. url_query: web_url
  213. title_query: name_with_namespace
  214. content_query: description
  215. page_size: 20
  216. categories: it
  217. shortcut: gl
  218. timeout: 10.0
  219. disabled: False
  220. - name: github
  221. engine: github
  222. shortcut: gh
  223. - name: google
  224. engine: google
  225. shortcut: go
  226. - name: google images
  227. engine: google_images
  228. shortcut: goi
  229. - name: google news
  230. engine: google_news
  231. shortcut: gon
  232. - name: google videos
  233. engine: google_videos
  234. shortcut: gov
  235. - name: google scholar
  236. engine: xpath
  237. paging: True
  238. search_url: https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
  239. results_xpath: //div[contains(@class, "gs_r")]/div[@class="gs_ri"]
  240. url_xpath: .//h3/a/@href
  241. title_xpath: .//h3/a
  242. content_xpath: .//div[@class="gs_rs"]
  243. suggestion_xpath: //div[@id="gs_qsuggest"]/ul/li
  244. page_size: 10
  245. first_page_num: 0
  246. categories: science
  247. shortcut: gos
  248. - name: google play apps
  249. engine: xpath
  250. search_url: https://play.google.com/store/search?q={query}&c=apps
  251. url_xpath: //a[@class="title"]/@href
  252. title_xpath: //a[@class="title"]
  253. content_xpath: //a[@class="subtitle"]
  254. categories: files
  255. shortcut: gpa
  256. disabled: True
  257. - name: google play movies
  258. engine: xpath
  259. search_url: https://play.google.com/store/search?q={query}&c=movies
  260. url_xpath: //a[@class="title"]/@href
  261. title_xpath: //a[@class="title"]/@title
  262. content_xpath: //a[contains(@class, "subtitle")]
  263. categories: videos
  264. shortcut: gpm
  265. disabled: True
  266. - name: google play music
  267. engine: xpath
  268. search_url: https://play.google.com/store/search?q={query}&c=music
  269. url_xpath: //a[@class="title"]/@href
  270. title_xpath: //a[@class="title"]
  271. content_xpath: //a[@class="subtitle"]
  272. categories: music
  273. shortcut: gps
  274. disabled: True
  275. - name: geektimes
  276. engine: xpath
  277. paging: True
  278. search_url: https://geektimes.ru/search/page{pageno}/?q={query}
  279. url_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
  280. title_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]
  281. content_xpath: //article[contains(@class, "post")]//div[contains(@class, "post__text")]
  282. categories: it
  283. timeout: 4.0
  284. disabled: True
  285. shortcut: gt
  286. - name: habrahabr
  287. engine: xpath
  288. paging: True
  289. search_url: https://habrahabr.ru/search/page{pageno}/?q={query}
  290. url_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
  291. title_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]
  292. content_xpath: //article[contains(@class, "post")]//div[contains(@class, "post__text")]
  293. categories: it
  294. timeout: 4.0
  295. disabled: True
  296. shortcut: habr
  297. - name: hoogle
  298. engine: json_engine
  299. paging: True
  300. search_url: https://www.haskell.org/hoogle/?mode=json&hoogle={query}&start={pageno}
  301. results_query: results
  302. url_query: location
  303. title_query: self
  304. content_query: docs
  305. page_size: 20
  306. categories: it
  307. shortcut: ho
  308. - name: ina
  309. engine: ina
  310. shortcut: in
  311. timeout: 6.0
  312. disabled: True
  313. - name: kickass
  314. engine: kickass
  315. shortcut: kc
  316. timeout: 4.0
  317. disabled: True
  318. - name: library genesis
  319. engine: xpath
  320. search_url: http://libgen.io/search.php?req={query}
  321. url_xpath: //a[contains(@href,"bookfi.net")]/@href
  322. title_xpath: //a[contains(@href,"book/")]/text()[1]
  323. content_xpath: //td/a[1][contains(@href,"=author")]/text()
  324. categories: general
  325. timeout: 7.0
  326. disabled: True
  327. shortcut: lg
  328. - name: lobste.rs
  329. engine: xpath
  330. search_url: https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
  331. results_xpath: //li[contains(@class, "story")]
  332. url_xpath: .//span[@class="link"]/a/@href
  333. title_xpath: .//span[@class="link"]/a
  334. content_xpath: .//a[@class="domain"]
  335. categories: it
  336. shortcut: lo
  337. - name: microsoft academic
  338. engine: microsoft_academic
  339. categories: science
  340. shortcut: ma
  341. - name: mixcloud
  342. engine: mixcloud
  343. shortcut: mc
  344. - name: nyaa
  345. engine: nyaa
  346. shortcut: nt
  347. disabled: True
  348. - name: acgsou
  349. engine: acgsou
  350. shortcut: acg
  351. disabled: True
  352. timeout: 5.0
  353. - name: openairedatasets
  354. engine: json_engine
  355. paging: True
  356. search_url: http://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
  357. results_query: response/results/result
  358. url_query: metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  359. title_query: metadata/oaf:entity/oaf:result/title/$
  360. content_query: metadata/oaf:entity/oaf:result/description/$
  361. categories: science
  362. shortcut: oad
  363. timeout: 5.0
  364. - name: openairepublications
  365. engine: json_engine
  366. paging: True
  367. search_url: http://api.openaire.eu/search/publications?format=json&page={pageno}&size=10&title={query}
  368. results_query: response/results/result
  369. url_query: metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  370. title_query: metadata/oaf:entity/oaf:result/title/$
  371. content_query: metadata/oaf:entity/oaf:result/description/$
  372. categories: science
  373. shortcut: oap
  374. timeout: 5.0
  375. - name: openstreetmap
  376. engine: openstreetmap
  377. shortcut: osm
  378. - name: openrepos
  379. engine: xpath
  380. paging: True
  381. search_url: https://openrepos.net/search/node/{query}?page={pageno}
  382. url_xpath: //li[@class="search-result"]//h3[@class="title"]/a/@href
  383. title_xpath: //li[@class="search-result"]//h3[@class="title"]/a
  384. content_xpath: //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  385. categories: files
  386. timeout: 4.0
  387. disabled: True
  388. shortcut: or
  389. - name: pdbe
  390. engine: pdbe
  391. shortcut: pdb
  392. # Hide obsolete PDB entries.
  393. # Default is not to hide obsolete structures
  394. # hide_obsolete : False
  395. - name: photon
  396. engine: photon
  397. shortcut: ph
  398. - name: piratebay
  399. engine: piratebay
  400. shortcut: tpb
  401. url: https://pirateproxy.red/
  402. timeout: 3.0
  403. - name: pubmed
  404. engine: pubmed
  405. shortcut: pub
  406. categories: science
  407. timeout: 3.0
  408. - name: qwant
  409. engine: qwant
  410. shortcut: qw
  411. categories: general
  412. disabled: True
  413. - name: qwant images
  414. engine: qwant
  415. shortcut: qwi
  416. categories: images
  417. - name: qwant news
  418. engine: qwant
  419. shortcut: qwn
  420. categories: news
  421. - name: qwant social
  422. engine: qwant
  423. shortcut: qws
  424. categories: social media
  425. - name: reddit
  426. engine: reddit
  427. shortcut: re
  428. page_size: 25
  429. timeout: 10.0
  430. disabled: True
  431. - name: scanr structures
  432. shortcut: scs
  433. engine: scanr_structures
  434. disabled: True
  435. - name: soundcloud
  436. engine: soundcloud
  437. shortcut: sc
  438. - name: stackoverflow
  439. engine: stackoverflow
  440. shortcut: st
  441. - name: searchcode doc
  442. engine: searchcode_doc
  443. shortcut: scd
  444. - name: searchcode code
  445. engine: searchcode_code
  446. shortcut: scc
  447. disabled: True
  448. - name: framalibre
  449. engine: framalibre
  450. shortcut: frl
  451. disabled: True
  452. # - name : searx
  453. # engine : searx_engine
  454. # shortcut : se
  455. # instance_urls :
  456. # - http://127.0.0.1:8888/
  457. # - ...
  458. # disabled : True
  459. - name: semantic scholar
  460. engine: xpath
  461. paging: True
  462. search_url: https://www.semanticscholar.org/search?q={query}&sort=relevance&page={pageno}&ae=false
  463. results_xpath: //article
  464. url_xpath: .//div[@class="search-result-title"]/a/@href
  465. title_xpath: .//div[@class="search-result-title"]/a
  466. content_xpath: .//div[@class="search-result-abstract"]
  467. shortcut: se
  468. categories: science
  469. - name: startpage
  470. engine: startpage
  471. shortcut: sp
  472. timeout: 6.0
  473. disabled: True
  474. - name: tokyotoshokan
  475. engine: tokyotoshokan
  476. shortcut: tt
  477. timeout: 6.0
  478. disabled: True
  479. - name: torrentz
  480. engine: torrentz
  481. shortcut: tor
  482. url: https://torrentz2.eu/
  483. timeout: 3.0
  484. - name: twitter
  485. engine: twitter
  486. shortcut: tw
  487. # maybe in a fun category
  488. # - name : uncyclopedia
  489. # engine : mediawiki
  490. # shortcut : unc
  491. # base_url : https://uncyclopedia.wikia.com/
  492. # number_of_results : 5
  493. # tmp suspended - too slow, too many errors
  494. # - name : urbandictionary
  495. # engine : xpath
  496. # search_url : http://www.urbandictionary.com/define.php?term={query}
  497. # url_xpath : //*[@class="word"]/@href
  498. # title_xpath : //*[@class="def-header"]
  499. # content_xpath : //*[@class="meaning"]
  500. # shortcut : ud
  501. - name: yahoo
  502. engine: yahoo
  503. shortcut: yh
  504. disabled: True
  505. - name: yandex
  506. engine: yandex
  507. shortcut: yn
  508. disabled: True
  509. - name: yahoo news
  510. engine: yahoo_news
  511. shortcut: yhn
  512. - name: youtube
  513. shortcut: yt
  514. # You can use the engine using the official stable API, but you need an API key
  515. # See : https://console.developers.google.com/project
  516. # engine : youtube_api
  517. # api_key: 'apikey' # required!
  518. # Or you can use the html non-stable engine, activated by default
  519. engine: youtube_noapi
  520. - name: dailymotion
  521. engine: dailymotion
  522. shortcut: dm
  523. - name: vimeo
  524. engine: vimeo
  525. shortcut: vm
  526. - name: wolframalpha
  527. shortcut: wa
  528. # You can use the engine using the official stable API, but you need an API key
  529. # See : http://products.wolframalpha.com/api/
  530. # engine : wolframalpha_api
  531. # api_key: '' # required!
  532. engine: wolframalpha_noapi
  533. timeout: 6.0
  534. categories: science
  535. - name: seedpeer
  536. engine: seedpeer
  537. shortcut: speu
  538. categories: files, music, videos
  539. disabled: True
  540. - name: dictzone
  541. engine: dictzone
  542. shortcut: dc
  543. - name: mymemory translated
  544. engine: translated
  545. shortcut: tl
  546. timeout: 5.0
  547. disabled: True
  548. # You can use without an API key, but you are limited to 1000 words/day
  549. # See : http://mymemory.translated.net/doc/usagelimits.php
  550. # api_key : ''
  551. - name: voat
  552. engine: xpath
  553. shortcut: vo
  554. categories: social media
  555. search_url: https://searchvoat.co/?t={query}
  556. url_xpath: //div[@class="entry"]/p/a[@class="title"]/@href
  557. title_xpath: //div[@class="entry"]/p/a[@class="title"]
  558. content_xpath: //div[@class="entry"]/p/span[@class="domain"]
  559. timeout: 10.0
  560. disabled: True
  561. - name: 1337x
  562. engine: 1337x
  563. shortcut: 1337x
  564. disabled: True
  565. - name: Duden
  566. engine: duden
  567. shortcut: du
  568. disabled: True
  569. - name: seznam
  570. shortcut: szn
  571. engine: xpath
  572. paging: True
  573. search_url: https://search.seznam.cz/?q={query}&count=10&from={pageno}
  574. results_xpath: //div[@class="Page-content"]//div[@class="Result "]
  575. url_xpath: ./h3/a/@href
  576. title_xpath: ./h3
  577. content_xpath: .//p[@class="Result-description"]
  578. first_page_num: 0
  579. page_size: 10
  580. disabled: True
  581. - name: mojeek
  582. shortcut: mjk
  583. engine: xpath
  584. paging: True
  585. search_url: https://www.mojeek.com/search?q={query}&s={pageno}
  586. results_xpath: /html/body//div[@class="results"]/ul[@class="results-standard"]/li
  587. url_xpath: ./h2/a/@href
  588. title_xpath: ./h2
  589. content_xpath: ./p[@class="s"]
  590. suggestion_xpath: /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
  591. first_page_num: 1
  592. page_size: 10
  593. disabled: True
  594. # - name : yacy
  595. # engine : yacy
  596. # shortcut : ya
  597. # base_url : 'http://localhost:8090'
  598. # number_of_results : 5
  599. # timeout : 3.0
  600. # Doku engine lets you access to any Doku wiki instance:
  601. # A public one or a privete/corporate one.
  602. # - name : ubuntuwiki
  603. # engine : doku
  604. # shortcut : uw
  605. # base_url : 'http://doc.ubuntu-fr.org'
  606. locales:
  607. en: English
  608. ar: العَرَبِيَّة (Arabic)
  609. bg: Български (Bulgarian)
  610. ca: Català (Catalan)
  611. cs: Čeština (Czech)
  612. cy: Cymraeg (Welsh)
  613. da: Dansk (Danish)
  614. de: Deutsch (German)
  615. el_GR: Ελληνικά (Greek_Greece)
  616. eo: Esperanto (Esperanto)
  617. es: Español (Spanish)
  618. eu: Euskara (Basque)
  619. fa_IR: (fārsī) فارسى (Persian)
  620. fi: Suomi (Finnish)
  621. fil: Wikang Filipino (Filipino)
  622. fr: Français (French)
  623. gl: Galego (Galician)
  624. he: עברית (Hebrew)
  625. hr: Hrvatski (Croatian)
  626. hu: Magyar (Hungarian)
  627. it: Italiano (Italian)
  628. ja: 日本語 (Japanese)
  629. nl: Nederlands (Dutch)
  630. nl_BE: Vlaams (Dutch_Belgium)
  631. pl: Polski (Polish)
  632. pt: Português (Portuguese)
  633. pt_BR: Português (Portuguese_Brazil)
  634. ro: Română (Romanian)
  635. ru: Русский (Russian)
  636. sk: Slovenčina (Slovak)
  637. sl: Slovenski (Slovene)
  638. sr: српски (Serbian)
  639. sv: Svenska (Swedish)
  640. te: తెలుగు (telugu)
  641. tr: Türkçe (Turkish)
  642. uk: українська мова (Ukrainian)
  643. vi: tiếng việt (㗂越)
  644. zh: 中文 (Chinese)
  645. zh_TW: 國語 (Taiwanese Mandarin)
  646. doi_resolvers:
  647. oadoi.org: "https://oadoi.org/"
  648. doi.org: "https://doi.org/"
  649. doai.io: "http://doai.io/"
  650. sci-hub.tw: "http://sci-hub.tw/"
  651. default_doi_resolver: "oadoi.org"