settings.yml 31 KB

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