settings.yml 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385
  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 : startpage
  842. engine : startpage
  843. shortcut : sp
  844. timeout : 6.0
  845. disabled : True
  846. additional_tests:
  847. rosebud: *test_rosebud
  848. - name : tokyotoshokan
  849. engine : tokyotoshokan
  850. shortcut : tt
  851. timeout : 6.0
  852. disabled : True
  853. - name : torrentz
  854. engine : torrentz
  855. shortcut : tor
  856. url: https://torrentz2.eu/
  857. timeout : 3.0
  858. # Requires Tor
  859. - name : torch
  860. engine : xpath
  861. paging : True
  862. search_url : http://xmh57jrknzkhv6y3ls3ubitzfqnkrwxhopf5aygthi7d6rplyvk3noyd.onion/cgi-bin/omega/omega?P={query}&DEFAULTOP=and
  863. results_xpath : //table//tr
  864. url_xpath : ./td[2]/a
  865. title_xpath : ./td[2]/b
  866. content_xpath : ./td[2]/small
  867. categories : onions
  868. shortcut : tch
  869. # maybe in a fun category
  870. # - name : uncyclopedia
  871. # engine : mediawiki
  872. # shortcut : unc
  873. # base_url : https://uncyclopedia.wikia.com/
  874. # number_of_results : 5
  875. # tmp suspended - too slow, too many errors
  876. # - name : urbandictionary
  877. # engine : xpath
  878. # search_url : http://www.urbandictionary.com/define.php?term={query}
  879. # url_xpath : //*[@class="word"]/@href
  880. # title_xpath : //*[@class="def-header"]
  881. # content_xpath : //*[@class="meaning"]
  882. # shortcut : ud
  883. - name : unsplash
  884. engine : unsplash
  885. disabled: True
  886. shortcut : us
  887. - name : yahoo
  888. engine : yahoo
  889. shortcut : yh
  890. disabled : True
  891. - name : yahoo news
  892. engine : yahoo_news
  893. shortcut : yhn
  894. - name : youtube
  895. shortcut : yt
  896. # You can use the engine using the official stable API, but you need an API key
  897. # See : https://console.developers.google.com/project
  898. # engine : youtube_api
  899. # api_key: 'apikey' # required!
  900. # Or you can use the html non-stable engine, activated by default
  901. engine : youtube_noapi
  902. - name : yggtorrent
  903. engine : yggtorrent
  904. shortcut : ygg
  905. url: https://www4.yggtorrent.li/
  906. disabled : True
  907. timeout : 4.0
  908. - name : dailymotion
  909. engine : dailymotion
  910. shortcut : dm
  911. - name : vimeo
  912. engine : vimeo
  913. shortcut : vm
  914. - name : wiby
  915. engine : json_engine
  916. search_url : https://wiby.me/json/?q={query}
  917. url_query : URL
  918. title_query : Title
  919. content_query : Snippet
  920. categories : general
  921. shortcut : wib
  922. disabled : True
  923. - name : wikibooks
  924. engine : mediawiki
  925. shortcut : wb
  926. categories : general
  927. base_url : "https://{language}.wikibooks.org/"
  928. number_of_results : 5
  929. search_type : text
  930. disabled : True
  931. about:
  932. website: https://www.wikibooks.org/
  933. wikidata_id: Q367
  934. - name : wikinews
  935. engine : mediawiki
  936. shortcut : wn
  937. categories : news
  938. base_url : "https://{language}.wikinews.org/"
  939. number_of_results : 5
  940. search_type : text
  941. disabled : True
  942. about:
  943. website: https://www.wikinews.org/
  944. wikidata_id: Q964
  945. - name : wikiquote
  946. engine : mediawiki
  947. shortcut : wq
  948. categories : general
  949. base_url : "https://{language}.wikiquote.org/"
  950. number_of_results : 5
  951. search_type : text
  952. disabled : True
  953. additional_tests:
  954. rosebud: *test_rosebud
  955. about:
  956. website: https://www.wikiquote.org/
  957. wikidata_id: Q369
  958. - name : wikisource
  959. engine : mediawiki
  960. shortcut : ws
  961. categories : general
  962. base_url : "https://{language}.wikisource.org/"
  963. number_of_results : 5
  964. search_type : text
  965. disabled : True
  966. about:
  967. website: https://www.wikisource.org/
  968. wikidata_id: Q263
  969. - name : wiktionary
  970. engine : mediawiki
  971. shortcut : wt
  972. categories : general
  973. base_url : "https://{language}.wiktionary.org/"
  974. number_of_results : 5
  975. search_type : text
  976. disabled : True
  977. about:
  978. website: https://www.wiktionary.org/
  979. wikidata_id: Q151
  980. - name : wikiversity
  981. engine : mediawiki
  982. shortcut : wv
  983. categories : general
  984. base_url : "https://{language}.wikiversity.org/"
  985. number_of_results : 5
  986. search_type : text
  987. disabled : True
  988. about:
  989. website: https://www.wikiversity.org/
  990. wikidata_id: Q370
  991. - name : wikivoyage
  992. engine : mediawiki
  993. shortcut : wy
  994. categories : general
  995. base_url : "https://{language}.wikivoyage.org/"
  996. number_of_results : 5
  997. search_type : text
  998. disabled : True
  999. about:
  1000. website: https://www.wikivoyage.org/
  1001. wikidata_id: Q373
  1002. - name : wolframalpha
  1003. shortcut : wa
  1004. # You can use the engine using the official stable API, but you need an API key
  1005. # See : http://products.wolframalpha.com/api/
  1006. # engine : wolframalpha_api
  1007. # api_key: '' # required!
  1008. engine : wolframalpha_noapi
  1009. timeout: 6.0
  1010. categories : science
  1011. - name : dictzone
  1012. engine : dictzone
  1013. shortcut : dc
  1014. - name : mymemory translated
  1015. engine : translated
  1016. shortcut : tl
  1017. timeout : 5.0
  1018. disabled : True
  1019. # You can use without an API key, but you are limited to 1000 words/day
  1020. # See : http://mymemory.translated.net/doc/usagelimits.php
  1021. # api_key : ''
  1022. - name : 1337x
  1023. engine : 1337x
  1024. shortcut : 1337x
  1025. disabled : True
  1026. - name : duden
  1027. engine : duden
  1028. shortcut : du
  1029. disabled : True
  1030. - name : seznam
  1031. shortcut: szn
  1032. engine: seznam
  1033. disabled : True
  1034. - name : mojeek
  1035. shortcut: mjk
  1036. engine: xpath
  1037. paging : True
  1038. search_url : https://www.mojeek.com/search?q={query}&s={pageno}
  1039. results_xpath: /html/body//div[@class="results"]/ul[@class="results-standard"]/li
  1040. url_xpath : ./h2/a/@href
  1041. title_xpath : ./h2
  1042. content_xpath : ./p[@class="s"]
  1043. suggestion_xpath : /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
  1044. first_page_num : 0
  1045. page_size : 10
  1046. disabled : True
  1047. about:
  1048. website: https://www.mojeek.com/
  1049. wikidata_id: Q60747299
  1050. official_api_documentation: https://www.mojeek.com/services/api.html/
  1051. use_official_api: false
  1052. require_api_key: false
  1053. results: HTML
  1054. - name : naver
  1055. shortcut: nvr
  1056. engine: xpath
  1057. paging : True
  1058. search_url : https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno}
  1059. url_xpath : //a[@class="link_tit"]/@href
  1060. title_xpath : //a[@class="link_tit"]
  1061. content_xpath : //a[@class="total_dsc"]/div
  1062. first_page_num : 1
  1063. page_size : 10
  1064. disabled : True
  1065. about:
  1066. website: https://www.naver.com/
  1067. wikidata_id: Q485639
  1068. official_api_documentation: https://developers.naver.com/docs/nmt/examples/
  1069. use_official_api: false
  1070. require_api_key: false
  1071. results: HTML
  1072. - name : rubygems
  1073. shortcut: rbg
  1074. engine: xpath
  1075. paging : True
  1076. search_url : https://rubygems.org/search?page={pageno}&query={query}
  1077. results_xpath: /html/body/main/div/a[@class="gems__gem"]
  1078. url_xpath : ./@href
  1079. title_xpath : ./span/h2
  1080. content_xpath : ./span/p
  1081. suggestion_xpath : /html/body/main/div/div[@class="search__suggestions"]/p/a
  1082. first_page_num : 1
  1083. categories: it
  1084. disabled : True
  1085. about:
  1086. website: https://rubygems.org/
  1087. wikidata_id: Q1853420
  1088. official_api_documentation: https://guides.rubygems.org/rubygems-org-api/
  1089. use_official_api: false
  1090. require_api_key: false
  1091. results: HTML
  1092. - name : peertube
  1093. engine: peertube
  1094. shortcut: ptb
  1095. paging : True
  1096. base_url : https://peer.tube/
  1097. categories: videos
  1098. disabled : True
  1099. - name : mediathekviewweb
  1100. engine : mediathekviewweb
  1101. shortcut : mvw
  1102. # - name : yacy
  1103. # engine : yacy
  1104. # shortcut : ya
  1105. # base_url : 'http://localhost:8090'
  1106. # number_of_results : 5
  1107. # timeout : 3.0
  1108. - name : rumble
  1109. engine : rumble
  1110. shortcut : ru
  1111. base_url : https://rumble.com/
  1112. paging : True
  1113. categories: videos
  1114. disabled : True
  1115. # Doku engine lets you access to any Doku wiki instance:
  1116. # A public one or a privete/corporate one.
  1117. # - name : ubuntuwiki
  1118. # engine : doku
  1119. # shortcut : uw
  1120. # base_url : 'http://doc.ubuntu-fr.org'
  1121. # Be careful when enabling this engine if you are
  1122. # running a public instance. Do not expose any sensitive
  1123. # information. You can restrict access by configuring a list
  1124. # of access tokens under tokens.
  1125. # - name: git grep
  1126. # engine: command
  1127. # command: ['git', 'grep', '{{QUERY}}']
  1128. # shortcut: gg
  1129. # tokens: []
  1130. # disabled: True
  1131. # delimiter:
  1132. # chars: ':'
  1133. # keys: ['filepath', 'code']
  1134. # Be careful when enabling this engine if you are
  1135. # running a public instance. Do not expose any sensitive
  1136. # information. You can restrict access by configuring a list
  1137. # of access tokens under tokens.
  1138. # - name: locate
  1139. # engine: command
  1140. # command: ['locate', '{{QUERY}}']
  1141. # shortcut: loc
  1142. # tokens: []
  1143. # disabled: True
  1144. # delimiter:
  1145. # chars: ' '
  1146. # keys: ['line']
  1147. # Be careful when enabling this engine if you are
  1148. # running a public instance. Do not expose any sensitive
  1149. # information. You can restrict access by configuring a list
  1150. # of access tokens under tokens.
  1151. # - name: find
  1152. # engine: command
  1153. # command: ['find', '.', '-name', '{{QUERY}}']
  1154. # query_type: path
  1155. # shortcut: fnd
  1156. # tokens: []
  1157. # disabled: True
  1158. # delimiter:
  1159. # chars: ' '
  1160. # keys: ['line']
  1161. # Be careful when enabling this engine if you are
  1162. # running a public instance. Do not expose any sensitive
  1163. # information. You can restrict access by configuring a list
  1164. # of access tokens under tokens.
  1165. # - name: pattern search in files
  1166. # engine: command
  1167. # command: ['fgrep', '{{QUERY}}']
  1168. # shortcut: fgr
  1169. # tokens: []
  1170. # disabled: True
  1171. # delimiter:
  1172. # chars: ' '
  1173. # keys: ['line']
  1174. # Be careful when enabling this engine if you are
  1175. # running a public instance. Do not expose any sensitive
  1176. # information. You can restrict access by configuring a list
  1177. # of access tokens under tokens.
  1178. # - name: regex search in files
  1179. # engine: command
  1180. # command: ['grep', '{{QUERY}}']
  1181. # shortcut: gr
  1182. # tokens: []
  1183. # disabled: True
  1184. # delimiter:
  1185. # chars: ' '
  1186. # keys: ['line']
  1187. locales:
  1188. en : English
  1189. ar : العَرَبِيَّة (Arabic)
  1190. bg : Български (Bulgarian)
  1191. bo : བོད་སྐད་ (Tibetian)
  1192. ca : Català (Catalan)
  1193. cs : Čeština (Czech)
  1194. cy : Cymraeg (Welsh)
  1195. da : Dansk (Danish)
  1196. de : Deutsch (German)
  1197. el_GR : Ελληνικά (Greek_Greece)
  1198. eo : Esperanto (Esperanto)
  1199. es : Español (Spanish)
  1200. et : Eesti (Estonian)
  1201. eu : Euskara (Basque)
  1202. fa_IR : (fārsī) فارسى (Persian)
  1203. fi : Suomi (Finnish)
  1204. fil : Wikang Filipino (Filipino)
  1205. fr : Français (French)
  1206. gl : Galego (Galician)
  1207. he : עברית (Hebrew)
  1208. hr : Hrvatski (Croatian)
  1209. hu : Magyar (Hungarian)
  1210. ia : Interlingua (Interlingua)
  1211. it : Italiano (Italian)
  1212. ja : 日本語 (Japanese)
  1213. lt : Lietuvių (Lithuanian)
  1214. nl : Nederlands (Dutch)
  1215. nl_BE : Vlaams (Dutch_Belgium)
  1216. oc : Lenga D'òc (Occitan)
  1217. pl : Polski (Polish)
  1218. pt : Português (Portuguese)
  1219. pt_BR : Português (Portuguese_Brazil)
  1220. ro : Română (Romanian)
  1221. ru : Русский (Russian)
  1222. sk : Slovenčina (Slovak)
  1223. sl : Slovenski (Slovene)
  1224. sr : српски (Serbian)
  1225. sv : Svenska (Swedish)
  1226. te : తెలుగు (telugu)
  1227. ta : தமிழ் (Tamil)
  1228. tr : Türkçe (Turkish)
  1229. uk : українська мова (Ukrainian)
  1230. vi : tiếng việt (Vietnamese)
  1231. zh : 中文 (Chinese)
  1232. zh_TW : 國語 (Taiwanese Mandarin)
  1233. doi_resolvers :
  1234. oadoi.org : 'https://oadoi.org/'
  1235. doi.org : 'https://doi.org/'
  1236. doai.io : 'https://dissem.in/'
  1237. sci-hub.tw : 'https://sci-hub.tw/'
  1238. default_doi_resolver : 'sci-hub.tw'