searx-settings.yml.j2 31 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213
  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. results_on_new_tab: True
  11. server:
  12. port: 8888
  13. bind_address: "127.0.0.1"
  14. secret_key: "{{searx_secret_key}}"
  15. base_url: False
  16. image_proxy: True
  17. http_protocol_version: "1.0"
  18. method: "GET"
  19. default_http_headers:
  20. X-Content-Type-Options: nosniff
  21. X-XSS-Protection: 1; mode=block
  22. X-Download-Options: noopen
  23. X-Robots-Tag: noindex, nofollow
  24. Referrer-Policy: no-referrer
  25. ui:
  26. static_path: "" # Custom static path - leave it blank if you didn't change
  27. templates_path: "" # Custom templates path - leave it blank if you didn't change
  28. default_theme: oscar # ui theme
  29. default_locale: "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
  30. theme_args:
  31. oscar_style: logicodev # default style of oscar
  32. result_proxy:
  33. url: https://search.unbl.ink/_morty/
  34. key: !!binary "{{morty_secret_key}}"
  35. outgoing:
  36. request_timeout: 3.0
  37. useragent_suffix: ""
  38. pool_connections: 100
  39. pool_maxsize: 10
  40. checker:
  41. # disable checker when in debug mode
  42. off_when_debug: True
  43. # scheduling: interval or int
  44. # use "scheduling: False" to disable scheduling
  45. # to activate the scheduler:
  46. # * uncomment "scheduling" section
  47. # * add "cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1" to your uwsgi.ini
  48. scheduling:
  49. start_after: [300, 1800] # delay to start the first run of the checker
  50. every: [86400, 90000] # how often the checker runs
  51. # additional tests: only for the YAML anchors (see the engines section)
  52. additional_tests:
  53. rosebud: &test_rosebud
  54. matrix:
  55. query: rosebud
  56. lang: en
  57. result_container:
  58. - not_empty
  59. - ["one_title_contains", "citizen kane"]
  60. test:
  61. - unique_results
  62. android: &test_android
  63. matrix:
  64. query: ["android"]
  65. lang: ["en", "de", "fr", "zh-CN"]
  66. result_container:
  67. - not_empty
  68. - ["one_title_contains", "google"]
  69. test:
  70. - unique_results
  71. # tests: only for the YAML anchors (see the engines section)
  72. tests:
  73. infobox: &tests_infobox
  74. infobox:
  75. matrix:
  76. query: ["linux", "new york", "bbc"]
  77. result_container:
  78. - has_infobox
  79. engines:
  80. - name: apk mirror
  81. engine: apkmirror
  82. timeout: 4.0
  83. shortcut: apkm
  84. disabled: True
  85. # Requires Tor
  86. - name: ahmia
  87. engine: ahmia
  88. categories: onions
  89. shortcut: ah
  90. - name: arch linux wiki
  91. engine: archlinux
  92. shortcut: al
  93. - name: archive is
  94. engine: xpath
  95. search_url: https://archive.is/{query}
  96. url_xpath: (//div[@class="TEXT-BLOCK"]/a)/@href
  97. title_xpath: (//div[@class="TEXT-BLOCK"]/a)
  98. content_xpath: //div[@class="TEXT-BLOCK"]/ul/li
  99. categories: general
  100. timeout: 7.0
  101. disabled: True
  102. shortcut: ai
  103. about:
  104. website: https://archive.is/
  105. wikidata_id: Q13515725
  106. official_api_documentation: http://mementoweb.org/depot/native/archiveis/
  107. use_official_api: false
  108. require_api_key: false
  109. results: HTML
  110. - name: arxiv
  111. engine: arxiv
  112. shortcut: arx
  113. categories: science
  114. timeout: 4.0
  115. # tmp suspended: dh key too small
  116. # - name : base
  117. # engine : base
  118. # shortcut : bs
  119. - name: wikipedia
  120. engine: wikipedia
  121. shortcut: wp
  122. base_url: "https://{language}.wikipedia.org/"
  123. - name: bing
  124. engine: bing
  125. shortcut: bi
  126. - name: bing images
  127. engine: bing_images
  128. shortcut: bii
  129. - name: bing news
  130. engine: bing_news
  131. shortcut: bin
  132. - name: bing videos
  133. engine: bing_videos
  134. shortcut: biv
  135. - name: bitbucket
  136. engine: xpath
  137. paging: True
  138. search_url: https://bitbucket.org/repo/all/{pageno}?name={query}
  139. url_xpath: //article[@class="repo-summary"]//a[@class="repo-link"]/@href
  140. title_xpath: //article[@class="repo-summary"]//a[@class="repo-link"]
  141. content_xpath: //article[@class="repo-summary"]/p
  142. categories: it
  143. timeout: 4.0
  144. disabled: True
  145. shortcut: bb
  146. about:
  147. website: https://bitbucket.org/
  148. wikidata_id: Q2493781
  149. official_api_documentation: https://developer.atlassian.com/bitbucket
  150. use_official_api: false
  151. require_api_key: false
  152. results: HTML
  153. - name: btdigg
  154. engine: btdigg
  155. shortcut: bt
  156. - name: ccc-tv
  157. engine: xpath
  158. paging: False
  159. search_url: https://media.ccc.de/search/?q={query}
  160. url_xpath: //div[@class="caption"]/h3/a/@href
  161. title_xpath: //div[@class="caption"]/h3/a/text()
  162. content_xpath: //div[@class="caption"]/h4/@title
  163. categories: videos
  164. disabled: True
  165. shortcut: c3tv
  166. about:
  167. website: https://media.ccc.de/
  168. wikidata_id: Q80729951
  169. official_api_documentation: https://github.com/voc/voctoweb
  170. use_official_api: false
  171. require_api_key: false
  172. results: HTML
  173. - name: crossref
  174. engine: json_engine
  175. paging: True
  176. search_url: https://search.crossref.org/dois?q={query}&page={pageno}
  177. url_query: doi
  178. title_query: title
  179. title_html_to_text: True
  180. content_query: fullCitation
  181. content_html_to_text: True
  182. categories: science
  183. shortcut: cr
  184. about:
  185. website: https://www.crossref.org/
  186. wikidata_id: Q5188229
  187. official_api_documentation: https://github.com/CrossRef/rest-api-doc
  188. use_official_api: false
  189. require_api_key: false
  190. results: JSON
  191. - name: currency
  192. engine: currency_convert
  193. categories: general
  194. shortcut: cc
  195. - name: deezer
  196. engine: deezer
  197. shortcut: dz
  198. - name: deviantart
  199. engine: deviantart
  200. shortcut: da
  201. timeout: 3.0
  202. - name: ddg definitions
  203. engine: duckduckgo_definitions
  204. shortcut: ddd
  205. weight: 2
  206. tests: *tests_infobox
  207. # cloudflare protected
  208. # - name : digbt
  209. # engine : digbt
  210. # shortcut : dbt
  211. # timeout : 6.0
  212. # disabled : True
  213. - name: digg
  214. engine: digg
  215. shortcut: dg
  216. - name: erowid
  217. engine: xpath
  218. paging: True
  219. first_page_num: 0
  220. page_size: 30
  221. search_url: https://www.erowid.org/search.php?q={query}&s={pageno}
  222. url_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
  223. title_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
  224. content_xpath: //dl[@class="results-list"]/dd[@class="result-details"]
  225. categories: general
  226. shortcut: ew
  227. disabled: True
  228. about:
  229. website: https://www.erowid.org/
  230. wikidata_id: Q1430691
  231. official_api_documentation:
  232. use_official_api: false
  233. require_api_key: false
  234. results: HTML
  235. # - name : elasticsearch
  236. # shortcut : es
  237. # engine : elasticsearch
  238. # base_url : http://localhost:9200
  239. # username : elastic
  240. # password : changeme
  241. # index : my-index
  242. # # available options: match, simple_query_string, term, terms, custom
  243. # query_type : match
  244. # # if query_type is set to custom, provide your query here
  245. # #custom_query_json: {"query":{"match_all": {}}}
  246. # #show_metadata: False
  247. # disabled : True
  248. - name: wikidata
  249. engine: wikidata
  250. shortcut: wd
  251. timeout: 3.0
  252. weight: 2
  253. tests: *tests_infobox
  254. - name: duckduckgo
  255. engine: duckduckgo
  256. shortcut: ddg
  257. - name: duckduckgo images
  258. engine: duckduckgo_images
  259. shortcut: ddi
  260. timeout: 3.0
  261. - name: etools
  262. engine: etools
  263. shortcut: eto
  264. disabled: True
  265. additional_tests:
  266. rosebud: *test_rosebud
  267. - name: etymonline
  268. engine: xpath
  269. paging: True
  270. search_url: https://etymonline.com/search?page={pageno}&q={query}
  271. url_xpath: //a[contains(@class, "word__name--")]/@href
  272. title_xpath: //a[contains(@class, "word__name--")]
  273. content_xpath: //section[contains(@class, "word__defination")]
  274. first_page_num: 1
  275. shortcut: et
  276. disabled: True
  277. about:
  278. website: https://www.etymonline.com/
  279. wikidata_id: Q1188617
  280. official_api_documentation:
  281. use_official_api: false
  282. require_api_key: false
  283. results: HTML
  284. - name: ebay
  285. engine: ebay
  286. shortcut: eb
  287. timeout: 5
  288. - name: 1x
  289. engine: www1x
  290. shortcut: 1x
  291. timeout: 3.0
  292. disabled: True
  293. - name: fdroid
  294. engine: fdroid
  295. shortcut: fd
  296. - name: flickr
  297. categories: images
  298. shortcut: fl
  299. # You can use the engine using the official stable API, but you need an API key
  300. # See : https://www.flickr.com/services/apps/create/
  301. # engine : flickr
  302. # api_key: 'apikey' # required!
  303. # Or you can use the html non-stable engine, activated by default
  304. engine: flickr_noapi
  305. - name: free software directory
  306. engine: mediawiki
  307. shortcut: fsd
  308. categories: it
  309. base_url: https://directory.fsf.org/
  310. number_of_results: 5
  311. # what part of a page matches the query string: title, text, nearmatch
  312. # title - query matches title, text - query matches the text of page, nearmatch - nearmatch in title
  313. search_type: title
  314. timeout: 5.0
  315. disabled: True
  316. about:
  317. website: https://directory.fsf.org/
  318. wikidata_id: Q2470288
  319. - name: frinkiac
  320. engine: frinkiac
  321. shortcut: frk
  322. disabled: True
  323. - name: genius
  324. engine: genius
  325. shortcut: gen
  326. - name: gigablast
  327. engine: gigablast
  328. shortcut: gb
  329. timeout: 3.0
  330. disabled: True
  331. additional_tests:
  332. rosebud: *test_rosebud
  333. - name: gentoo
  334. engine: gentoo
  335. shortcut: ge
  336. - name: gitlab
  337. engine: json_engine
  338. paging: True
  339. search_url: https://gitlab.com/api/v4/projects?search={query}&page={pageno}
  340. url_query: web_url
  341. title_query: name_with_namespace
  342. content_query: description
  343. page_size: 20
  344. categories: it
  345. shortcut: gl
  346. timeout: 10.0
  347. disabled: True
  348. about:
  349. website: https://about.gitlab.com/
  350. wikidata_id: Q16639197
  351. official_api_documentation: https://docs.gitlab.com/ee/api/
  352. use_official_api: false
  353. require_api_key: false
  354. results: JSON
  355. - name: github
  356. engine: github
  357. shortcut: gh
  358. # This a Gitea service. If you would like to use a different instance,
  359. # change codeberg.org to URL of the desired Gitea host. Or you can create
  360. # a new engine by copying this and changing the name, shortcut and search_url.
  361. - name: codeberg
  362. engine: json_engine
  363. search_url: https://codeberg.org/api/v1/repos/search?q={query}&limit=10
  364. url_query: html_url
  365. title_query: name
  366. content_query: description
  367. categories: it
  368. shortcut: cb
  369. disabled: True
  370. about:
  371. website: https://codeberg.org/
  372. wikidata_id:
  373. official_api_documentation: https://try.gitea.io/api/swagger
  374. use_official_api: false
  375. require_api_key: false
  376. results: JSON
  377. - name: google
  378. engine: google
  379. shortcut: go
  380. # additional_tests:
  381. # android: *test_android
  382. - name: google images
  383. engine: google_images
  384. shortcut: goi
  385. # additional_tests:
  386. # android: *test_android
  387. # dali:
  388. # matrix:
  389. # query: ['Dali Christ']
  390. # lang: ['en', 'de', 'fr', 'zh-CN']
  391. # result_container:
  392. # - ['one_title_contains', 'Salvador']
  393. - name: google news
  394. engine: google_news
  395. shortcut: gon
  396. # additional_tests:
  397. # android: *test_android
  398. - name: google videos
  399. engine: google_videos
  400. shortcut: gov
  401. # additional_tests:
  402. # android: *test_android
  403. - name: google scholar
  404. engine: xpath
  405. paging: True
  406. search_url: https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
  407. results_xpath: //div[contains(@class, "gs_r")]/div[@class="gs_ri"]
  408. url_xpath: .//h3/a/@href
  409. title_xpath: .//h3/a
  410. content_xpath: .//div[@class="gs_rs"]
  411. suggestion_xpath: //div[@id="gs_res_ccl_top"]//a/b
  412. page_size: 10
  413. first_page_num: 0
  414. categories: science
  415. shortcut: gos
  416. about:
  417. website: https://scholar.google.com/
  418. wikidata_id: Q494817
  419. official_api_documentation:
  420. use_official_api: false
  421. require_api_key: false
  422. results: HTML
  423. - name: google play apps
  424. engine: xpath
  425. search_url: https://play.google.com/store/search?q={query}&c=apps
  426. results_xpath: '//div[@class="WHE7ib mpg5gc"]'
  427. title_xpath: './/div[@class="RZEgze"]//div[@title and not(@title="")]/a'
  428. url_xpath: './/div[@class="RZEgze"]//div[@title and not(@title="")]/a/@href'
  429. content_xpath: './/div[@class="RZEgze"]//a[@class="mnKHRc"]'
  430. thumbnail_xpath: './/div[@class="uzcko"]/div/span[1]//img/@data-src'
  431. categories: files
  432. shortcut: gpa
  433. disabled: True
  434. about:
  435. website: https://play.google.com/
  436. wikidata_id: Q79576
  437. official_api_documentation:
  438. use_official_api: false
  439. require_api_key: false
  440. results: HTML
  441. - name: google play movies
  442. engine: xpath
  443. search_url: https://play.google.com/store/search?q={query}&c=movies
  444. results_xpath: '//div[@class="WHE7ib mpg5gc"]'
  445. title_xpath: './/div[@class="RZEgze"]//div[@title and not(@title="")]/a'
  446. url_xpath: './/div[@class="RZEgze"]//div[@title and not(@title="")]/a/@href'
  447. content_xpath: './/div[@class="RZEgze"]//a[@class="mnKHRc"]'
  448. thumbnail_xpath: './/div[@class="uzcko"]/div/span[1]//img/@data-src'
  449. categories: videos
  450. shortcut: gpm
  451. disabled: True
  452. about:
  453. website: https://play.google.com/
  454. wikidata_id: Q79576
  455. official_api_documentation:
  456. use_official_api: false
  457. require_api_key: false
  458. results: HTML
  459. - name: geektimes
  460. engine: xpath
  461. paging: True
  462. search_url: https://geektimes.ru/search/page{pageno}/?q={query}
  463. url_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
  464. title_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]
  465. content_xpath: //article[contains(@class, "post")]//div[contains(@class, "post__text")]
  466. categories: it
  467. timeout: 4.0
  468. disabled: True
  469. shortcut: gt
  470. about:
  471. website: https://geektimes.ru/
  472. wikidata_id: Q50572423
  473. official_api_documentation:
  474. use_official_api: false
  475. require_api_key: false
  476. results: HTML
  477. - name: habrahabr
  478. engine: xpath
  479. paging: True
  480. search_url: https://habrahabr.ru/search/page{pageno}/?q={query}
  481. url_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
  482. title_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]
  483. content_xpath: //article[contains(@class, "post")]//div[contains(@class, "post__text")]
  484. categories: it
  485. timeout: 4.0
  486. disabled: True
  487. shortcut: habr
  488. about:
  489. website: https://habr.com/
  490. wikidata_id: Q4494434
  491. official_api_documentation: https://habr.com/en/docs/help/api/
  492. use_official_api: false
  493. require_api_key: false
  494. results: HTML
  495. - name: hoogle
  496. engine: json_engine
  497. paging: True
  498. search_url: https://www.haskell.org/hoogle/?mode=json&hoogle={query}&start={pageno}
  499. results_query: results
  500. url_query: location
  501. title_query: self
  502. content_query: docs
  503. page_size: 20
  504. categories: it
  505. shortcut: ho
  506. about:
  507. website: https://www.haskell.org/
  508. wikidata_id: Q34010
  509. official_api_documentation: https://hackage.haskell.org/api
  510. use_official_api: false
  511. require_api_key: false
  512. results: JSON
  513. - name: ina
  514. engine: ina
  515. shortcut: in
  516. timeout: 6.0
  517. disabled: True
  518. - name: kickass
  519. engine: kickass
  520. shortcut: kc
  521. timeout: 4.0
  522. disabled: True
  523. - name: library genesis
  524. engine: xpath
  525. search_url: http://libgen.rs/search.php?req={query}
  526. url_xpath: //a[contains(@href,"bookfi.net/md5")]/@href
  527. title_xpath: //a[contains(@href,"book/")]/text()[1]
  528. content_xpath: //td/a[1][contains(@href,"=author")]/text()
  529. categories: general
  530. timeout: 7.0
  531. disabled: True
  532. shortcut: lg
  533. about:
  534. website: http://libgen.rs/
  535. wikidata_id: Q22017206
  536. official_api_documentation:
  537. use_official_api: false
  538. require_api_key: false
  539. results: HTML
  540. - name: library of congress
  541. engine: loc
  542. shortcut: loc
  543. categories: images
  544. - name: lobste.rs
  545. engine: xpath
  546. search_url: https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
  547. results_xpath: //li[contains(@class, "story")]
  548. url_xpath: .//a[@class="u-url"]/@href
  549. title_xpath: .//a[@class="u-url"]
  550. content_xpath: .//a[@class="domain"]
  551. categories: it
  552. shortcut: lo
  553. timeout: 3.0
  554. disabled: True
  555. about:
  556. website: https://lobste.rs/
  557. wikidata_id: Q60762874
  558. official_api_documentation:
  559. use_official_api: false
  560. require_api_key: false
  561. results: HTML
  562. - name: microsoft academic
  563. engine: microsoft_academic
  564. categories: science
  565. shortcut: ma
  566. - name: mixcloud
  567. engine: mixcloud
  568. shortcut: mc
  569. - name: npm
  570. engine: json_engine
  571. paging: True
  572. search_url: https://api.npms.io/v2/search?q={query}&size=25&from={pageno}
  573. results_query: results
  574. url_query: package/links/npm
  575. title_query: package/name
  576. content_query: package/description
  577. page_size: 25
  578. categories: it
  579. disabled: True
  580. timeout: 5.0
  581. shortcut: npm
  582. about:
  583. website: https://npms.io/
  584. wikidata_id: Q7067518
  585. official_api_documentation: https://api-docs.npms.io/
  586. use_official_api: false
  587. require_api_key: false
  588. results: JSON
  589. # Requires Tor
  590. - name: not evil
  591. engine: not_evil
  592. shortcut: ne
  593. - name: nyaa
  594. engine: nyaa
  595. shortcut: nt
  596. disabled: True
  597. - name: acgsou
  598. engine: acgsou
  599. shortcut: acg
  600. disabled: True
  601. timeout: 5.0
  602. - name: openairedatasets
  603. engine: json_engine
  604. paging: True
  605. search_url: https://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
  606. results_query: response/results/result
  607. url_query: metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  608. title_query: metadata/oaf:entity/oaf:result/title/$
  609. content_query: metadata/oaf:entity/oaf:result/description/$
  610. content_html_to_text: True
  611. categories: science
  612. shortcut: oad
  613. timeout: 5.0
  614. about:
  615. website: https://www.openaire.eu/
  616. wikidata_id: Q25106053
  617. official_api_documentation: https://api.openaire.eu/
  618. use_official_api: false
  619. require_api_key: false
  620. results: JSON
  621. - name: openairepublications
  622. engine: json_engine
  623. paging: True
  624. search_url: https://api.openaire.eu/search/publications?format=json&page={pageno}&size=10&title={query}
  625. results_query: response/results/result
  626. url_query: metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  627. title_query: metadata/oaf:entity/oaf:result/title/$
  628. content_query: metadata/oaf:entity/oaf:result/description/$
  629. content_html_to_text: True
  630. categories: science
  631. shortcut: oap
  632. timeout: 5.0
  633. about:
  634. website: https://www.openaire.eu/
  635. wikidata_id: Q25106053
  636. official_api_documentation: https://api.openaire.eu/
  637. use_official_api: false
  638. require_api_key: false
  639. results: JSON
  640. # - name : opensemanticsearch
  641. # engine : opensemantic
  642. # shortcut : oss
  643. # base_url : 'http://localhost:8983/solr/opensemanticsearch/'
  644. - name: openstreetmap
  645. engine: openstreetmap
  646. shortcut: osm
  647. - name: openrepos
  648. engine: xpath
  649. paging: True
  650. search_url: https://openrepos.net/search/node/{query}?page={pageno}
  651. url_xpath: //li[@class="search-result"]//h3[@class="title"]/a/@href
  652. title_xpath: //li[@class="search-result"]//h3[@class="title"]/a
  653. content_xpath: //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  654. categories: files
  655. timeout: 4.0
  656. disabled: True
  657. shortcut: or
  658. about:
  659. website: https://openrepos.net/
  660. wikidata_id:
  661. official_api_documentation:
  662. use_official_api: false
  663. require_api_key: false
  664. results: HTML
  665. - name: pdbe
  666. engine: pdbe
  667. shortcut: pdb
  668. # Hide obsolete PDB entries.
  669. # Default is not to hide obsolete structures
  670. # hide_obsolete : False
  671. - name: photon
  672. engine: photon
  673. shortcut: ph
  674. - name: piratebay
  675. engine: piratebay
  676. shortcut: tpb
  677. # You may need to change this URL to a proxy if piratebay is blocked in your country
  678. url: https://thepiratebay.org/
  679. timeout: 3.0
  680. - name: pubmed
  681. engine: pubmed
  682. shortcut: pub
  683. categories: science
  684. timeout: 3.0
  685. - name: qwant
  686. engine: qwant
  687. shortcut: qw
  688. categories: general
  689. disabled: True
  690. additional_tests:
  691. rosebud: *test_rosebud
  692. - name: qwant images
  693. engine: qwant
  694. shortcut: qwi
  695. categories: images
  696. - name: qwant news
  697. engine: qwant
  698. shortcut: qwn
  699. categories: news
  700. # - name: library
  701. # engine: recoll
  702. # shortcut: lib
  703. # base_url: 'https://recoll.example.org/'
  704. # search_dir: ''
  705. # mount_prefix: /export
  706. # dl_prefix: 'https://download.example.org'
  707. # timeout: 30.0
  708. # categories: files
  709. # disabled: True
  710. # - name: recoll library reference
  711. # engine: recoll
  712. # base_url: 'https://recoll.example.org/'
  713. # search_dir: reference
  714. # mount_prefix: /export
  715. # dl_prefix: 'https://download.example.org'
  716. # shortcut: libr
  717. # timeout: 30.0
  718. # categories: files
  719. # disabled: True
  720. - name: reddit
  721. engine: reddit
  722. shortcut: re
  723. page_size: 25
  724. timeout: 10.0
  725. disabled: True
  726. # tmp suspended: bad certificate
  727. # - name : scanr structures
  728. # shortcut: scs
  729. # engine : scanr_structures
  730. # disabled : True
  731. - name: sepiasearch
  732. engine: sepiasearch
  733. shortcut: sep
  734. - name: soundcloud
  735. engine: soundcloud
  736. shortcut: sc
  737. - name: stackoverflow
  738. engine: stackoverflow
  739. shortcut: st
  740. - name: searchcode code
  741. engine: searchcode_code
  742. shortcut: scc
  743. disabled: True
  744. - name: framalibre
  745. engine: framalibre
  746. shortcut: frl
  747. disabled: True
  748. # - name : searx
  749. # engine : searx_engine
  750. # shortcut : se
  751. # instance_urls :
  752. # - http://127.0.0.1:8888/
  753. # - ...
  754. # disabled : True
  755. - name: semantic scholar
  756. engine: xpath
  757. paging: True
  758. search_url: https://www.semanticscholar.org/search?q={query}&sort=relevance&page={pageno}&ae=false
  759. results_xpath: //article
  760. url_xpath: .//div[@class="search-result-title"]/a/@href
  761. title_xpath: .//div[@class="search-result-title"]/a
  762. content_xpath: .//div[@class="search-result-abstract"]
  763. shortcut: se
  764. categories: science
  765. about:
  766. website: https://www.semanticscholar.org/
  767. wikidata_id: Q22908627
  768. official_api_documentation: https://api.semanticscholar.org/
  769. use_official_api: false
  770. require_api_key: false
  771. results: HTML
  772. # Spotify needs API credentials
  773. # - name : spotify
  774. # engine : spotify
  775. # shortcut : stf
  776. # api_client_id : *******
  777. # api_client_secret : *******
  778. - name: startpage
  779. engine: startpage
  780. shortcut: sp
  781. timeout: 6.0
  782. disabled: True
  783. additional_tests:
  784. rosebud: *test_rosebud
  785. - name: tokyotoshokan
  786. engine: tokyotoshokan
  787. shortcut: tt
  788. timeout: 6.0
  789. disabled: True
  790. - name: torrentz
  791. engine: torrentz
  792. shortcut: tor
  793. url: https://torrentz2.eu/
  794. timeout: 3.0
  795. # Requires Tor
  796. - name: torch
  797. engine: xpath
  798. paging: True
  799. search_url: http://xmh57jrknzkhv6y3ls3ubitzfqnkrwxhopf5aygthi7d6rplyvk3noyd.onion/cgi-bin/omega/omega?P={query}&DEFAULTOP=and
  800. results_xpath: //table//tr
  801. url_xpath: ./td[2]/a
  802. title_xpath: ./td[2]/b
  803. content_xpath: ./td[2]/small
  804. categories: onions
  805. shortcut: tch
  806. # maybe in a fun category
  807. # - name : uncyclopedia
  808. # engine : mediawiki
  809. # shortcut : unc
  810. # base_url : https://uncyclopedia.wikia.com/
  811. # number_of_results : 5
  812. # tmp suspended - too slow, too many errors
  813. # - name : urbandictionary
  814. # engine : xpath
  815. # search_url : http://www.urbandictionary.com/define.php?term={query}
  816. # url_xpath : //*[@class="word"]/@href
  817. # title_xpath : //*[@class="def-header"]
  818. # content_xpath : //*[@class="meaning"]
  819. # shortcut : ud
  820. - name: unsplash
  821. engine: unsplash
  822. disabled: True
  823. shortcut: us
  824. - name: yahoo
  825. engine: yahoo
  826. shortcut: yh
  827. disabled: True
  828. - name: yahoo news
  829. engine: yahoo_news
  830. shortcut: yhn
  831. - name: youtube
  832. shortcut: yt
  833. # You can use the engine using the official stable API, but you need an API key
  834. # See : https://console.developers.google.com/project
  835. # engine : youtube_api
  836. # api_key: 'apikey' # required!
  837. # Or you can use the html non-stable engine, activated by default
  838. engine: youtube_noapi
  839. - name: dailymotion
  840. engine: dailymotion
  841. shortcut: dm
  842. - name: vimeo
  843. engine: vimeo
  844. shortcut: vm
  845. - name: wiby
  846. engine: json_engine
  847. search_url: https://wiby.me/json/?q={query}
  848. url_query: URL
  849. title_query: Title
  850. content_query: Snippet
  851. categories: general
  852. shortcut: wib
  853. disabled: True
  854. - name: wikibooks
  855. engine: mediawiki
  856. shortcut: wb
  857. categories: general
  858. base_url: "https://{language}.wikibooks.org/"
  859. number_of_results: 5
  860. search_type: text
  861. disabled: True
  862. about:
  863. website: https://www.wikibooks.org/
  864. wikidata_id: Q367
  865. - name: wikinews
  866. engine: mediawiki
  867. shortcut: wn
  868. categories: news
  869. base_url: "https://{language}.wikinews.org/"
  870. number_of_results: 5
  871. search_type: text
  872. disabled: True
  873. about:
  874. website: https://www.wikinews.org/
  875. wikidata_id: Q964
  876. - name: wikiquote
  877. engine: mediawiki
  878. shortcut: wq
  879. categories: general
  880. base_url: "https://{language}.wikiquote.org/"
  881. number_of_results: 5
  882. search_type: text
  883. disabled: True
  884. additional_tests:
  885. rosebud: *test_rosebud
  886. about:
  887. website: https://www.wikiquote.org/
  888. wikidata_id: Q369
  889. - name: wikisource
  890. engine: mediawiki
  891. shortcut: ws
  892. categories: general
  893. base_url: "https://{language}.wikisource.org/"
  894. number_of_results: 5
  895. search_type: text
  896. disabled: True
  897. about:
  898. website: https://www.wikisource.org/
  899. wikidata_id: Q263
  900. - name: wiktionary
  901. engine: mediawiki
  902. shortcut: wt
  903. categories: general
  904. base_url: "https://{language}.wiktionary.org/"
  905. number_of_results: 5
  906. search_type: text
  907. disabled: True
  908. about:
  909. website: https://www.wiktionary.org/
  910. wikidata_id: Q151
  911. - name: wikiversity
  912. engine: mediawiki
  913. shortcut: wv
  914. categories: general
  915. base_url: "https://{language}.wikiversity.org/"
  916. number_of_results: 5
  917. search_type: text
  918. disabled: True
  919. about:
  920. website: https://www.wikiversity.org/
  921. wikidata_id: Q370
  922. - name: wikivoyage
  923. engine: mediawiki
  924. shortcut: wy
  925. categories: general
  926. base_url: "https://{language}.wikivoyage.org/"
  927. number_of_results: 5
  928. search_type: text
  929. disabled: True
  930. about:
  931. website: https://www.wikivoyage.org/
  932. wikidata_id: Q373
  933. - name: wolframalpha
  934. shortcut: wa
  935. # You can use the engine using the official stable API, but you need an API key
  936. # See : http://products.wolframalpha.com/api/
  937. # engine : wolframalpha_api
  938. # api_key: '' # required!
  939. engine: wolframalpha_noapi
  940. timeout: 6.0
  941. categories: science
  942. - name: dictzone
  943. engine: dictzone
  944. shortcut: dc
  945. - name: mymemory translated
  946. engine: translated
  947. shortcut: tl
  948. timeout: 5.0
  949. disabled: True
  950. # You can use without an API key, but you are limited to 1000 words/day
  951. # See : http://mymemory.translated.net/doc/usagelimits.php
  952. # api_key : ''
  953. - name: 1337x
  954. engine: 1337x
  955. shortcut: 1337x
  956. disabled: True
  957. - name: duden
  958. engine: duden
  959. shortcut: du
  960. disabled: True
  961. - name: mojeek
  962. shortcut: mjk
  963. engine: xpath
  964. paging: True
  965. search_url: https://www.mojeek.com/search?q={query}&s={pageno}
  966. results_xpath: /html/body//div[@class="results"]/ul[@class="results-standard"]/li
  967. url_xpath: ./h2/a/@href
  968. title_xpath: ./h2
  969. content_xpath: ./p[@class="s"]
  970. suggestion_xpath: /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
  971. first_page_num: 0
  972. page_size: 10
  973. disabled: True
  974. about:
  975. website: https://www.mojeek.com/
  976. wikidata_id: Q60747299
  977. official_api_documentation: https://www.mojeek.com/services/api.html/
  978. use_official_api: false
  979. require_api_key: false
  980. results: HTML
  981. - name: naver
  982. shortcut: nvr
  983. engine: xpath
  984. paging: True
  985. search_url: https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno}
  986. url_xpath: //a[@class="link_tit"]/@href
  987. title_xpath: //a[@class="link_tit"]
  988. content_xpath: //a[@class="total_dsc"]/div
  989. first_page_num: 1
  990. page_size: 10
  991. disabled: True
  992. about:
  993. website: https://www.naver.com/
  994. wikidata_id: Q485639
  995. official_api_documentation: https://developers.naver.com/docs/nmt/examples/
  996. use_official_api: false
  997. require_api_key: false
  998. results: HTML
  999. - name: rubygems
  1000. shortcut: rbg
  1001. engine: xpath
  1002. paging: True
  1003. search_url: https://rubygems.org/search?page={pageno}&query={query}
  1004. results_xpath: /html/body/main/div/a[@class="gems__gem"]
  1005. url_xpath: ./@href
  1006. title_xpath: ./span/h2
  1007. content_xpath: ./span/p
  1008. suggestion_xpath: /html/body/main/div/div[@class="search__suggestions"]/p/a
  1009. first_page_num: 1
  1010. categories: it
  1011. disabled: True
  1012. about:
  1013. website: https://rubygems.org/
  1014. wikidata_id: Q1853420
  1015. official_api_documentation: https://guides.rubygems.org/rubygems-org-api/
  1016. use_official_api: false
  1017. require_api_key: false
  1018. results: HTML
  1019. - name: peertube
  1020. engine: peertube
  1021. shortcut: ptb
  1022. paging: True
  1023. base_url: https://peer.tube/
  1024. categories: videos
  1025. disabled: True
  1026. # Doku engine lets you access to any Doku wiki instance:
  1027. # A public one or a privete/corporate one.
  1028. # - name : ubuntuwiki
  1029. # engine : doku
  1030. # shortcut : uw
  1031. # base_url : 'http://doc.ubuntu-fr.org'
  1032. locales:
  1033. en: English
  1034. ar: العَرَبِيَّة (Arabic)
  1035. bg: Български (Bulgarian)
  1036. bo: བོད་སྐད་ (Tibetian)
  1037. ca: Català (Catalan)
  1038. cs: Čeština (Czech)
  1039. cy: Cymraeg (Welsh)
  1040. da: Dansk (Danish)
  1041. de: Deutsch (German)
  1042. el_GR: Ελληνικά (Greek_Greece)
  1043. eo: Esperanto (Esperanto)
  1044. es: Español (Spanish)
  1045. et: Eesti (Estonian)
  1046. eu: Euskara (Basque)
  1047. fa_IR: (fārsī) فارسى (Persian)
  1048. fi: Suomi (Finnish)
  1049. fil: Wikang Filipino (Filipino)
  1050. fr: Français (French)
  1051. gl: Galego (Galician)
  1052. he: עברית (Hebrew)
  1053. hr: Hrvatski (Croatian)
  1054. hu: Magyar (Hungarian)
  1055. ia: Interlingua (Interlingua)
  1056. it: Italiano (Italian)
  1057. ja: 日本語 (Japanese)
  1058. lt: Lietuvių (Lithuanian)
  1059. nl: Nederlands (Dutch)
  1060. nl_BE: Vlaams (Dutch_Belgium)
  1061. oc: Lenga D'òc (Occitan)
  1062. pl: Polski (Polish)
  1063. pt: Português (Portuguese)
  1064. pt_BR: Português (Portuguese_Brazil)
  1065. ro: Română (Romanian)
  1066. ru: Русский (Russian)
  1067. sk: Slovenčina (Slovak)
  1068. sl: Slovenski (Slovene)
  1069. sr: српски (Serbian)
  1070. sv: Svenska (Swedish)
  1071. te: తెలుగు (telugu)
  1072. ta: தமிழ் (Tamil)
  1073. tr: Türkçe (Turkish)
  1074. uk: українська мова (Ukrainian)
  1075. vi: tiếng việt (Vietnamese)
  1076. zh: 中文 (Chinese)
  1077. zh_TW: 國語 (Taiwanese Mandarin)
  1078. doi_resolvers:
  1079. oadoi.org: "https://oadoi.org/"
  1080. doi.org: "https://doi.org/"
  1081. doai.io: "https://dissem.in/"
  1082. sci-hub.tw: "https://sci-hub.tw/"
  1083. default_doi_resolver: "sci-hub.tw"