searx-settings.yml.j2 31 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207
  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: openairedatasets
  598. engine: json_engine
  599. paging: True
  600. search_url: https://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
  601. results_query: response/results/result
  602. url_query: metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  603. title_query: metadata/oaf:entity/oaf:result/title/$
  604. content_query: metadata/oaf:entity/oaf:result/description/$
  605. content_html_to_text: True
  606. categories: science
  607. shortcut: oad
  608. timeout: 5.0
  609. about:
  610. website: https://www.openaire.eu/
  611. wikidata_id: Q25106053
  612. official_api_documentation: https://api.openaire.eu/
  613. use_official_api: false
  614. require_api_key: false
  615. results: JSON
  616. - name: openairepublications
  617. engine: json_engine
  618. paging: True
  619. search_url: https://api.openaire.eu/search/publications?format=json&page={pageno}&size=10&title={query}
  620. results_query: response/results/result
  621. url_query: metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  622. title_query: metadata/oaf:entity/oaf:result/title/$
  623. content_query: metadata/oaf:entity/oaf:result/description/$
  624. content_html_to_text: True
  625. categories: science
  626. shortcut: oap
  627. timeout: 5.0
  628. about:
  629. website: https://www.openaire.eu/
  630. wikidata_id: Q25106053
  631. official_api_documentation: https://api.openaire.eu/
  632. use_official_api: false
  633. require_api_key: false
  634. results: JSON
  635. # - name : opensemanticsearch
  636. # engine : opensemantic
  637. # shortcut : oss
  638. # base_url : 'http://localhost:8983/solr/opensemanticsearch/'
  639. - name: openstreetmap
  640. engine: openstreetmap
  641. shortcut: osm
  642. - name: openrepos
  643. engine: xpath
  644. paging: True
  645. search_url: https://openrepos.net/search/node/{query}?page={pageno}
  646. url_xpath: //li[@class="search-result"]//h3[@class="title"]/a/@href
  647. title_xpath: //li[@class="search-result"]//h3[@class="title"]/a
  648. content_xpath: //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  649. categories: files
  650. timeout: 4.0
  651. disabled: True
  652. shortcut: or
  653. about:
  654. website: https://openrepos.net/
  655. wikidata_id:
  656. official_api_documentation:
  657. use_official_api: false
  658. require_api_key: false
  659. results: HTML
  660. - name: pdbe
  661. engine: pdbe
  662. shortcut: pdb
  663. # Hide obsolete PDB entries.
  664. # Default is not to hide obsolete structures
  665. # hide_obsolete : False
  666. - name: photon
  667. engine: photon
  668. shortcut: ph
  669. - name: piratebay
  670. engine: piratebay
  671. shortcut: tpb
  672. # You may need to change this URL to a proxy if piratebay is blocked in your country
  673. url: https://thepiratebay.org/
  674. timeout: 3.0
  675. - name: pubmed
  676. engine: pubmed
  677. shortcut: pub
  678. categories: science
  679. timeout: 3.0
  680. - name: qwant
  681. engine: qwant
  682. shortcut: qw
  683. categories: general
  684. disabled: True
  685. additional_tests:
  686. rosebud: *test_rosebud
  687. - name: qwant images
  688. engine: qwant
  689. shortcut: qwi
  690. categories: images
  691. - name: qwant news
  692. engine: qwant
  693. shortcut: qwn
  694. categories: news
  695. # - name: library
  696. # engine: recoll
  697. # shortcut: lib
  698. # base_url: 'https://recoll.example.org/'
  699. # search_dir: ''
  700. # mount_prefix: /export
  701. # dl_prefix: 'https://download.example.org'
  702. # timeout: 30.0
  703. # categories: files
  704. # disabled: True
  705. # - name: recoll library reference
  706. # engine: recoll
  707. # base_url: 'https://recoll.example.org/'
  708. # search_dir: reference
  709. # mount_prefix: /export
  710. # dl_prefix: 'https://download.example.org'
  711. # shortcut: libr
  712. # timeout: 30.0
  713. # categories: files
  714. # disabled: True
  715. - name: reddit
  716. engine: reddit
  717. shortcut: re
  718. page_size: 25
  719. timeout: 10.0
  720. disabled: True
  721. # tmp suspended: bad certificate
  722. # - name : scanr structures
  723. # shortcut: scs
  724. # engine : scanr_structures
  725. # disabled : True
  726. - name: sepiasearch
  727. engine: sepiasearch
  728. shortcut: sep
  729. - name: soundcloud
  730. engine: soundcloud
  731. shortcut: sc
  732. - name: stackoverflow
  733. engine: stackoverflow
  734. shortcut: st
  735. - name: searchcode code
  736. engine: searchcode_code
  737. shortcut: scc
  738. disabled: True
  739. - name: framalibre
  740. engine: framalibre
  741. shortcut: frl
  742. disabled: True
  743. # - name : searx
  744. # engine : searx_engine
  745. # shortcut : se
  746. # instance_urls :
  747. # - http://127.0.0.1:8888/
  748. # - ...
  749. # disabled : True
  750. - name: semantic scholar
  751. engine: xpath
  752. paging: True
  753. search_url: https://www.semanticscholar.org/search?q={query}&sort=relevance&page={pageno}&ae=false
  754. results_xpath: //article
  755. url_xpath: .//div[@class="search-result-title"]/a/@href
  756. title_xpath: .//div[@class="search-result-title"]/a
  757. content_xpath: .//div[@class="search-result-abstract"]
  758. shortcut: se
  759. categories: science
  760. about:
  761. website: https://www.semanticscholar.org/
  762. wikidata_id: Q22908627
  763. official_api_documentation: https://api.semanticscholar.org/
  764. use_official_api: false
  765. require_api_key: false
  766. results: HTML
  767. # Spotify needs API credentials
  768. # - name : spotify
  769. # engine : spotify
  770. # shortcut : stf
  771. # api_client_id : *******
  772. # api_client_secret : *******
  773. - name: startpage
  774. engine: startpage
  775. shortcut: sp
  776. timeout: 6.0
  777. disabled: True
  778. additional_tests:
  779. rosebud: *test_rosebud
  780. - name: tokyotoshokan
  781. engine: tokyotoshokan
  782. shortcut: tt
  783. timeout: 6.0
  784. disabled: True
  785. - name: torrentz
  786. engine: torrentz
  787. shortcut: tor
  788. url: https://torrentz2.eu/
  789. timeout: 3.0
  790. # Requires Tor
  791. - name: torch
  792. engine: xpath
  793. paging: True
  794. search_url: http://xmh57jrknzkhv6y3ls3ubitzfqnkrwxhopf5aygthi7d6rplyvk3noyd.onion/cgi-bin/omega/omega?P={query}&DEFAULTOP=and
  795. results_xpath: //table//tr
  796. url_xpath: ./td[2]/a
  797. title_xpath: ./td[2]/b
  798. content_xpath: ./td[2]/small
  799. categories: onions
  800. shortcut: tch
  801. # maybe in a fun category
  802. # - name : uncyclopedia
  803. # engine : mediawiki
  804. # shortcut : unc
  805. # base_url : https://uncyclopedia.wikia.com/
  806. # number_of_results : 5
  807. # tmp suspended - too slow, too many errors
  808. # - name : urbandictionary
  809. # engine : xpath
  810. # search_url : http://www.urbandictionary.com/define.php?term={query}
  811. # url_xpath : //*[@class="word"]/@href
  812. # title_xpath : //*[@class="def-header"]
  813. # content_xpath : //*[@class="meaning"]
  814. # shortcut : ud
  815. - name: unsplash
  816. engine: unsplash
  817. disabled: True
  818. shortcut: us
  819. - name: yahoo
  820. engine: yahoo
  821. shortcut: yh
  822. disabled: True
  823. - name: yahoo news
  824. engine: yahoo_news
  825. shortcut: yhn
  826. - name: youtube
  827. shortcut: yt
  828. # You can use the engine using the official stable API, but you need an API key
  829. # See : https://console.developers.google.com/project
  830. # engine : youtube_api
  831. # api_key: 'apikey' # required!
  832. # Or you can use the html non-stable engine, activated by default
  833. engine: youtube_noapi
  834. - name: dailymotion
  835. engine: dailymotion
  836. shortcut: dm
  837. - name: vimeo
  838. engine: vimeo
  839. shortcut: vm
  840. - name: wiby
  841. engine: json_engine
  842. search_url: https://wiby.me/json/?q={query}
  843. url_query: URL
  844. title_query: Title
  845. content_query: Snippet
  846. categories: general
  847. shortcut: wib
  848. disabled: True
  849. - name: wikibooks
  850. engine: mediawiki
  851. shortcut: wb
  852. categories: general
  853. base_url: "https://{language}.wikibooks.org/"
  854. number_of_results: 5
  855. search_type: text
  856. disabled: True
  857. about:
  858. website: https://www.wikibooks.org/
  859. wikidata_id: Q367
  860. - name: wikinews
  861. engine: mediawiki
  862. shortcut: wn
  863. categories: news
  864. base_url: "https://{language}.wikinews.org/"
  865. number_of_results: 5
  866. search_type: text
  867. disabled: True
  868. about:
  869. website: https://www.wikinews.org/
  870. wikidata_id: Q964
  871. - name: wikiquote
  872. engine: mediawiki
  873. shortcut: wq
  874. categories: general
  875. base_url: "https://{language}.wikiquote.org/"
  876. number_of_results: 5
  877. search_type: text
  878. disabled: True
  879. additional_tests:
  880. rosebud: *test_rosebud
  881. about:
  882. website: https://www.wikiquote.org/
  883. wikidata_id: Q369
  884. - name: wikisource
  885. engine: mediawiki
  886. shortcut: ws
  887. categories: general
  888. base_url: "https://{language}.wikisource.org/"
  889. number_of_results: 5
  890. search_type: text
  891. disabled: True
  892. about:
  893. website: https://www.wikisource.org/
  894. wikidata_id: Q263
  895. - name: wiktionary
  896. engine: mediawiki
  897. shortcut: wt
  898. categories: general
  899. base_url: "https://{language}.wiktionary.org/"
  900. number_of_results: 5
  901. search_type: text
  902. disabled: True
  903. about:
  904. website: https://www.wiktionary.org/
  905. wikidata_id: Q151
  906. - name: wikiversity
  907. engine: mediawiki
  908. shortcut: wv
  909. categories: general
  910. base_url: "https://{language}.wikiversity.org/"
  911. number_of_results: 5
  912. search_type: text
  913. disabled: True
  914. about:
  915. website: https://www.wikiversity.org/
  916. wikidata_id: Q370
  917. - name: wikivoyage
  918. engine: mediawiki
  919. shortcut: wy
  920. categories: general
  921. base_url: "https://{language}.wikivoyage.org/"
  922. number_of_results: 5
  923. search_type: text
  924. disabled: True
  925. about:
  926. website: https://www.wikivoyage.org/
  927. wikidata_id: Q373
  928. - name: wolframalpha
  929. shortcut: wa
  930. # You can use the engine using the official stable API, but you need an API key
  931. # See : http://products.wolframalpha.com/api/
  932. # engine : wolframalpha_api
  933. # api_key: '' # required!
  934. engine: wolframalpha_noapi
  935. timeout: 6.0
  936. categories: science
  937. - name: dictzone
  938. engine: dictzone
  939. shortcut: dc
  940. - name: mymemory translated
  941. engine: translated
  942. shortcut: tl
  943. timeout: 5.0
  944. disabled: True
  945. # You can use without an API key, but you are limited to 1000 words/day
  946. # See : http://mymemory.translated.net/doc/usagelimits.php
  947. # api_key : ''
  948. - name: 1337x
  949. engine: 1337x
  950. shortcut: 1337x
  951. disabled: True
  952. - name: duden
  953. engine: duden
  954. shortcut: du
  955. disabled: True
  956. - name: mojeek
  957. shortcut: mjk
  958. engine: xpath
  959. paging: True
  960. search_url: https://www.mojeek.com/search?q={query}&s={pageno}
  961. results_xpath: /html/body//div[@class="results"]/ul[@class="results-standard"]/li
  962. url_xpath: ./h2/a/@href
  963. title_xpath: ./h2
  964. content_xpath: ./p[@class="s"]
  965. suggestion_xpath: /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
  966. first_page_num: 0
  967. page_size: 10
  968. disabled: True
  969. about:
  970. website: https://www.mojeek.com/
  971. wikidata_id: Q60747299
  972. official_api_documentation: https://www.mojeek.com/services/api.html/
  973. use_official_api: false
  974. require_api_key: false
  975. results: HTML
  976. - name: naver
  977. shortcut: nvr
  978. engine: xpath
  979. paging: True
  980. search_url: https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno}
  981. url_xpath: //a[@class="link_tit"]/@href
  982. title_xpath: //a[@class="link_tit"]
  983. content_xpath: //a[@class="total_dsc"]/div
  984. first_page_num: 1
  985. page_size: 10
  986. disabled: True
  987. about:
  988. website: https://www.naver.com/
  989. wikidata_id: Q485639
  990. official_api_documentation: https://developers.naver.com/docs/nmt/examples/
  991. use_official_api: false
  992. require_api_key: false
  993. results: HTML
  994. - name: rubygems
  995. shortcut: rbg
  996. engine: xpath
  997. paging: True
  998. search_url: https://rubygems.org/search?page={pageno}&query={query}
  999. results_xpath: /html/body/main/div/a[@class="gems__gem"]
  1000. url_xpath: ./@href
  1001. title_xpath: ./span/h2
  1002. content_xpath: ./span/p
  1003. suggestion_xpath: /html/body/main/div/div[@class="search__suggestions"]/p/a
  1004. first_page_num: 1
  1005. categories: it
  1006. disabled: True
  1007. about:
  1008. website: https://rubygems.org/
  1009. wikidata_id: Q1853420
  1010. official_api_documentation: https://guides.rubygems.org/rubygems-org-api/
  1011. use_official_api: false
  1012. require_api_key: false
  1013. results: HTML
  1014. - name: peertube
  1015. engine: peertube
  1016. shortcut: ptb
  1017. paging: True
  1018. base_url: https://peer.tube/
  1019. categories: videos
  1020. disabled: True
  1021. # Doku engine lets you access to any Doku wiki instance:
  1022. # A public one or a privete/corporate one.
  1023. # - name : ubuntuwiki
  1024. # engine : doku
  1025. # shortcut : uw
  1026. # base_url : 'http://doc.ubuntu-fr.org'
  1027. locales:
  1028. en: English
  1029. ar: العَرَبِيَّة (Arabic)
  1030. bg: Български (Bulgarian)
  1031. bo: བོད་སྐད་ (Tibetian)
  1032. ca: Català (Catalan)
  1033. cs: Čeština (Czech)
  1034. cy: Cymraeg (Welsh)
  1035. da: Dansk (Danish)
  1036. de: Deutsch (German)
  1037. el_GR: Ελληνικά (Greek_Greece)
  1038. eo: Esperanto (Esperanto)
  1039. es: Español (Spanish)
  1040. et: Eesti (Estonian)
  1041. eu: Euskara (Basque)
  1042. fa_IR: (fārsī) فارسى (Persian)
  1043. fi: Suomi (Finnish)
  1044. fil: Wikang Filipino (Filipino)
  1045. fr: Français (French)
  1046. gl: Galego (Galician)
  1047. he: עברית (Hebrew)
  1048. hr: Hrvatski (Croatian)
  1049. hu: Magyar (Hungarian)
  1050. ia: Interlingua (Interlingua)
  1051. it: Italiano (Italian)
  1052. ja: 日本語 (Japanese)
  1053. lt: Lietuvių (Lithuanian)
  1054. nl: Nederlands (Dutch)
  1055. nl_BE: Vlaams (Dutch_Belgium)
  1056. oc: Lenga D'òc (Occitan)
  1057. pl: Polski (Polish)
  1058. pt: Português (Portuguese)
  1059. pt_BR: Português (Portuguese_Brazil)
  1060. ro: Română (Romanian)
  1061. ru: Русский (Russian)
  1062. sk: Slovenčina (Slovak)
  1063. sl: Slovenski (Slovene)
  1064. sr: српски (Serbian)
  1065. sv: Svenska (Swedish)
  1066. te: తెలుగు (telugu)
  1067. ta: தமிழ் (Tamil)
  1068. tr: Türkçe (Turkish)
  1069. uk: українська мова (Ukrainian)
  1070. vi: tiếng việt (Vietnamese)
  1071. zh: 中文 (Chinese)
  1072. zh_TW: 國語 (Taiwanese Mandarin)
  1073. doi_resolvers:
  1074. oadoi.org: "https://oadoi.org/"
  1075. doi.org: "https://doi.org/"
  1076. doai.io: "https://dissem.in/"
  1077. sci-hub.tw: "https://sci-hub.tw/"
  1078. default_doi_resolver: "sci-hub.tw"