settings.yml 32 KB

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