settings.yml 37 KB

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