settings.yml 38 KB

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