settings.yml 49 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838
  1. general:
  2. debug: false # Debug mode, only for development
  3. instance_name: "SearXNG" # displayed name
  4. contact_url: false # mailto:contact@example.com
  5. enable_metrics: true # record stats
  6. brand:
  7. new_issue_url: https://github.com/searxng/searxng/issues/new
  8. docs_url: https://docs.searxng.org/
  9. public_instances: https://searx.space
  10. wiki_url: https://github.com/searxng/searxng/wiki
  11. issue_url: https://github.com/searxng/searxng/issues
  12. search:
  13. # Filter results. 0: None, 1: Moderate, 2: Strict
  14. safe_search: 0
  15. # Existing autocomplete backends: "dbpedia", "duckduckgo", "google",
  16. # "seznam", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off
  17. # by default.
  18. autocomplete: ""
  19. # minimun characters to type before autocompleter starts
  20. autocomplete_min: 4
  21. # Default search language - leave blank to detect from browser information or
  22. # use codes from 'languages.py'
  23. default_lang: ""
  24. # Available languages
  25. # languages:
  26. # - all
  27. # - en
  28. # - en-US
  29. # - de
  30. # - it-IT
  31. # - fr
  32. # - fr-BE
  33. # ban time in seconds after engine errors
  34. ban_time_on_fail: 5
  35. # max ban time in seconds after engine errors
  36. max_ban_time_on_fail: 120
  37. # remove format to deny access, use lower case.
  38. # formats: [html, csv, json, rss]
  39. formats:
  40. - html
  41. server:
  42. # If you change port, bind_address or base_url don't forget to rebuild
  43. # instance's enviroment (make buildenv)
  44. port: 8888
  45. bind_address: "127.0.0.1"
  46. base_url: false # Possible values: false or "https://example.org/location".
  47. limiter: false # rate limit the number of request on the instance, block some bots
  48. # If your instance owns a /etc/searxng/settings.yml file, then set the following
  49. # values there.
  50. secret_key: "ultrasecretkey" # change this!
  51. # Proxying image results through searx
  52. image_proxy: false
  53. # 1.0 and 1.1 are supported
  54. http_protocol_version: "1.0"
  55. # POST queries are more secure as they don't show up in history but may cause
  56. # problems when using Firefox containers
  57. method: "POST"
  58. default_http_headers:
  59. X-Content-Type-Options: nosniff
  60. X-XSS-Protection: 1; mode=block
  61. X-Download-Options: noopen
  62. X-Robots-Tag: noindex, nofollow
  63. Referrer-Policy: no-referrer
  64. redis:
  65. # https://redis-py.readthedocs.io/en/stable/connections.html#redis.client.Redis.from_url
  66. url: unix:///usr/local/searxng-redis/run/redis.sock?db=0
  67. ui:
  68. # Custom static path - leave it blank if you didn't change
  69. static_path: ""
  70. static_use_hash: false
  71. # Custom templates path - leave it blank if you didn't change
  72. templates_path: ""
  73. # query_in_title: When true, the result page's titles contains the query
  74. # it decreases the privacy, since the browser can records the page titles.
  75. query_in_title: false
  76. # ui theme
  77. default_theme: simple
  78. # Default interface locale - leave blank to detect from browser information or
  79. # use codes from the 'locales' config section
  80. default_locale: ""
  81. # Open result links in a new tab by default
  82. # results_on_new_tab: false
  83. theme_args:
  84. # style of simple theme: auto, light, dark
  85. simple_style: auto
  86. # Lock arbitrary settings on the preferences page. To find the ID of the user
  87. # setting you want to lock, check the ID of the form on the page "preferences".
  88. #
  89. # preferences:
  90. # lock:
  91. # - language
  92. # - autocomplete
  93. # - method
  94. # - query_in_title
  95. # searx supports result proxification using an external service:
  96. # https://github.com/asciimoo/morty uncomment below section if you have running
  97. # morty proxy the key is base64 encoded (keep the !!binary notation)
  98. # Note: since commit af77ec3, morty accepts a base64 encoded key.
  99. #
  100. # result_proxy:
  101. # url: http://127.0.0.1:3000/
  102. # key: !!binary "your_morty_proxy_key"
  103. # # [true|false] enable the "proxy" button next to each result
  104. # proxify_results: true
  105. # communication with search engines
  106. #
  107. outgoing:
  108. # default timeout in seconds, can be override by engine
  109. request_timeout: 3.0
  110. # the maximum timeout in seconds
  111. # max_request_timeout: 10.0
  112. # suffix of searx_useragent, could contain informations like an email address
  113. # to the administrator
  114. useragent_suffix: ""
  115. # The maximum number of concurrent connections that may be established.
  116. pool_connections: 100
  117. # Allow the connection pool to maintain keep-alive connections below this
  118. # point.
  119. pool_maxsize: 20
  120. # See https://www.python-httpx.org/http2/
  121. enable_http2: true
  122. # uncomment below section if you want to use a proxyq see: SOCKS proxies
  123. # https://2.python-requests.org/en/latest/user/advanced/#proxies
  124. # are also supported: see
  125. # https://2.python-requests.org/en/latest/user/advanced/#socks
  126. #
  127. # proxies:
  128. # all://:
  129. # - http://proxy1:8080
  130. # - http://proxy2:8080
  131. #
  132. # using_tor_proxy: true
  133. #
  134. # Extra seconds to add in order to account for the time taken by the proxy
  135. #
  136. # extra_proxy_timeout: 10.0
  137. #
  138. # uncomment below section only if you have more than one network interface
  139. # which can be the source of outgoing search requests
  140. #
  141. # source_ips:
  142. # - 1.1.1.1
  143. # - 1.1.1.2
  144. # - fe80::/126
  145. # External plugin configuration, for more details see
  146. # https://docs.searxng.org/dev/plugins.html
  147. #
  148. # plugins:
  149. # - plugin1
  150. # - plugin2
  151. # - ...
  152. # Comment or un-comment plugin to activate / deactivate by default.
  153. #
  154. # enabled_plugins:
  155. # # these plugins are enabled if nothing is configured ..
  156. # - 'Hash plugin'
  157. # - 'Search on category select'
  158. # - 'Self Informations'
  159. # - 'Tracker URL remover'
  160. # - 'Ahmia blacklist' # activation depends on outgoing.using_tor_proxy
  161. # # these plugins are disabled if nothing is configured ..
  162. # - 'Hostname replace' # see hostname_replace configuration below
  163. # - 'Open Access DOI rewrite'
  164. # - 'Vim-like hotkeys'
  165. # Configuration of the "Hostname replace" plugin:
  166. #
  167. # hostname_replace:
  168. # '(.*\.)?youtube\.com$': 'invidious.example.com'
  169. # '(.*\.)?youtu\.be$': 'invidious.example.com'
  170. # '(.*\.)?youtube-noocookie\.com$': 'yotter.example.com'
  171. # '(.*\.)?reddit\.com$': 'teddit.example.com'
  172. # '(.*\.)?redd\.it$': 'teddit.example.com'
  173. # '(www\.)?twitter\.com$': 'nitter.example.com'
  174. # # to remove matching host names from result list, set value to false
  175. # 'spam\.example\.com': false
  176. checker:
  177. # disable checker when in debug mode
  178. off_when_debug: true
  179. # use "scheduling: false" to disable scheduling
  180. # scheduling: interval or int
  181. # to activate the scheduler:
  182. # * uncomment "scheduling" section
  183. # * add "cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1"
  184. # to your uwsgi.ini
  185. # scheduling:
  186. # start_after: [300, 1800] # delay to start the first run of the checker
  187. # every: [86400, 90000] # how often the checker runs
  188. # additional tests: only for the YAML anchors (see the engines section)
  189. #
  190. additional_tests:
  191. rosebud: &test_rosebud
  192. matrix:
  193. query: rosebud
  194. lang: en
  195. result_container:
  196. - not_empty
  197. - ['one_title_contains', 'citizen kane']
  198. test:
  199. - unique_results
  200. android: &test_android
  201. matrix:
  202. query: ['android']
  203. lang: ['en', 'de', 'fr', 'zh-CN']
  204. result_container:
  205. - not_empty
  206. - ['one_title_contains', 'google']
  207. test:
  208. - unique_results
  209. # tests: only for the YAML anchors (see the engines section)
  210. tests:
  211. infobox: &tests_infobox
  212. infobox:
  213. matrix:
  214. query: ["linux", "new york", "bbc"]
  215. result_container:
  216. - has_infobox
  217. categories_as_tabs:
  218. general:
  219. images:
  220. videos:
  221. news:
  222. map:
  223. music:
  224. it:
  225. science:
  226. files:
  227. social media:
  228. engines:
  229. - name: apk mirror
  230. engine: apkmirror
  231. timeout: 4.0
  232. shortcut: apkm
  233. disabled: true
  234. # Requires Tor
  235. - name: ahmia
  236. engine: ahmia
  237. categories: onions
  238. enable_http: true
  239. shortcut: ah
  240. - name: arch linux wiki
  241. engine: archlinux
  242. shortcut: al
  243. - name: archive is
  244. engine: xpath
  245. search_url: https://archive.is/search/?q={query}
  246. url_xpath: (//div[@class="TEXT-BLOCK"]/a)/@href
  247. title_xpath: (//div[@class="TEXT-BLOCK"]/a)
  248. content_xpath: //div[@class="TEXT-BLOCK"]/ul/li
  249. categories: general
  250. timeout: 7.0
  251. disabled: true
  252. shortcut: ai
  253. soft_max_redirects: 1
  254. about:
  255. website: https://archive.is/
  256. wikidata_id: Q13515725
  257. official_api_documentation: https://mementoweb.org/depot/native/archiveis/
  258. use_official_api: false
  259. require_api_key: false
  260. results: HTML
  261. - name: artic
  262. engine: artic
  263. shortcut: arc
  264. timeout: 4.0
  265. - name: arxiv
  266. engine: arxiv
  267. shortcut: arx
  268. categories: science
  269. timeout: 4.0
  270. # tmp suspended: dh key too small
  271. # - name: base
  272. # engine: base
  273. # shortcut: bs
  274. - name: bandcamp
  275. engine: bandcamp
  276. shortcut: bc
  277. categories: music
  278. - name: wikipedia
  279. engine: wikipedia
  280. shortcut: wp
  281. base_url: 'https://{language}.wikipedia.org/'
  282. - name: bing
  283. engine: bing
  284. shortcut: bi
  285. disabled: true
  286. - name: bing images
  287. engine: bing_images
  288. shortcut: bii
  289. - name: bing news
  290. engine: bing_news
  291. shortcut: bin
  292. - name: bing videos
  293. engine: bing_videos
  294. shortcut: biv
  295. - name: bitbucket
  296. engine: xpath
  297. paging: true
  298. search_url: https://bitbucket.org/repo/all/{pageno}?name={query}
  299. url_xpath: //article[@class="repo-summary"]//a[@class="repo-link"]/@href
  300. title_xpath: //article[@class="repo-summary"]//a[@class="repo-link"]
  301. content_xpath: //article[@class="repo-summary"]/p
  302. categories: [it, repos]
  303. timeout: 4.0
  304. disabled: true
  305. shortcut: bb
  306. about:
  307. website: https://bitbucket.org/
  308. wikidata_id: Q2493781
  309. official_api_documentation: https://developer.atlassian.com/bitbucket
  310. use_official_api: false
  311. require_api_key: false
  312. results: HTML
  313. - name: btdigg
  314. engine: btdigg
  315. shortcut: bt
  316. - name: ccc-tv
  317. engine: xpath
  318. paging: false
  319. search_url: https://media.ccc.de/search/?q={query}
  320. url_xpath: //div[@class="caption"]/h3/a/@href
  321. title_xpath: //div[@class="caption"]/h3/a/text()
  322. content_xpath: //div[@class="caption"]/h4/@title
  323. categories: videos
  324. disabled: true
  325. shortcut: c3tv
  326. about:
  327. website: https://media.ccc.de/
  328. wikidata_id: Q80729951
  329. official_api_documentation: https://github.com/voc/voctoweb
  330. use_official_api: false
  331. require_api_key: false
  332. results: HTML
  333. # We don't set language: de here because media.ccc.de is not just
  334. # for a German audience. It contains many English videos and many
  335. # German videos have English subtitles.
  336. - name: openverse
  337. engine: openverse
  338. categories: images
  339. shortcut: opv
  340. # - name: core.ac.uk
  341. # engine: core
  342. # categories: science
  343. # shortcut: cor
  344. # # get your API key from: https://core.ac.uk/api-keys/register/
  345. # api_key: 'unset'
  346. - name: crossref
  347. engine: json_engine
  348. paging: true
  349. search_url: https://search.crossref.org/dois?q={query}&page={pageno}
  350. url_query: doi
  351. title_query: title
  352. title_html_to_text: true
  353. content_query: fullCitation
  354. content_html_to_text: true
  355. categories: science
  356. shortcut: cr
  357. about:
  358. website: https://www.crossref.org/
  359. wikidata_id: Q5188229
  360. official_api_documentation: https://github.com/CrossRef/rest-api-doc
  361. use_official_api: false
  362. require_api_key: false
  363. results: JSON
  364. - name: currency
  365. engine: currency_convert
  366. categories: general
  367. shortcut: cc
  368. - name: deezer
  369. engine: deezer
  370. shortcut: dz
  371. disabled: true
  372. - name: deviantart
  373. engine: deviantart
  374. shortcut: da
  375. timeout: 3.0
  376. - name: ddg definitions
  377. engine: duckduckgo_definitions
  378. shortcut: ddd
  379. weight: 2
  380. disabled: true
  381. tests: *tests_infobox
  382. # cloudflare protected
  383. # - name: digbt
  384. # engine: digbt
  385. # shortcut: dbt
  386. # timeout: 6.0
  387. # disabled: true
  388. - name: docker hub
  389. engine: docker_hub
  390. shortcut: dh
  391. categories: [it, packages]
  392. - name: erowid
  393. engine: xpath
  394. paging: true
  395. first_page_num: 0
  396. page_size: 30
  397. search_url: https://www.erowid.org/search.php?q={query}&s={pageno}
  398. url_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
  399. title_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
  400. content_xpath: //dl[@class="results-list"]/dd[@class="result-details"]
  401. categories: []
  402. shortcut: ew
  403. disabled: true
  404. about:
  405. website: https://www.erowid.org/
  406. wikidata_id: Q1430691
  407. official_api_documentation:
  408. use_official_api: false
  409. require_api_key: false
  410. results: HTML
  411. # - name: elasticsearch
  412. # shortcut: es
  413. # engine: elasticsearch
  414. # base_url: http://localhost:9200
  415. # username: elastic
  416. # password: changeme
  417. # index: my-index
  418. # # available options: match, simple_query_string, term, terms, custom
  419. # query_type: match
  420. # # if query_type is set to custom, provide your query here
  421. # #custom_query_json: {"query":{"match_all": {}}}
  422. # #show_metadata: false
  423. # disabled: true
  424. - name: wikidata
  425. engine: wikidata
  426. shortcut: wd
  427. timeout: 3.0
  428. weight: 2
  429. tests: *tests_infobox
  430. - name: duckduckgo
  431. engine: duckduckgo
  432. shortcut: ddg
  433. - name: duckduckgo images
  434. engine: duckduckgo_images
  435. shortcut: ddi
  436. timeout: 3.0
  437. disabled: true
  438. - name: tineye
  439. engine: tineye
  440. shortcut: tin
  441. timeout: 9.0
  442. - name: etymonline
  443. engine: xpath
  444. paging: true
  445. search_url: https://etymonline.com/search?page={pageno}&q={query}
  446. url_xpath: //a[contains(@class, "word__name--")]/@href
  447. title_xpath: //a[contains(@class, "word__name--")]
  448. content_xpath: //section[contains(@class, "word__defination")]
  449. first_page_num: 1
  450. shortcut: et
  451. categories: [dictionaries]
  452. disabled: false
  453. about:
  454. website: https://www.etymonline.com/
  455. wikidata_id: Q1188617
  456. official_api_documentation:
  457. use_official_api: false
  458. require_api_key: false
  459. results: HTML
  460. # - name: ebay
  461. # engine: ebay
  462. # shortcut: eb
  463. # base_url: 'https://www.ebay.com'
  464. # disabled: true
  465. # timeout: 5
  466. - name: 1x
  467. engine: www1x
  468. shortcut: 1x
  469. timeout: 3.0
  470. disabled: true
  471. - name: fdroid
  472. engine: fdroid
  473. shortcut: fd
  474. disabled: true
  475. - name: flickr
  476. categories: images
  477. shortcut: fl
  478. # You can use the engine using the official stable API, but you need an API
  479. # key, see: https://www.flickr.com/services/apps/create/
  480. # engine: flickr
  481. # api_key: 'apikey' # required!
  482. # Or you can use the html non-stable engine, activated by default
  483. engine: flickr_noapi
  484. - name: free software directory
  485. engine: mediawiki
  486. shortcut: fsd
  487. categories: [it, software wikis]
  488. base_url: https://directory.fsf.org/
  489. number_of_results: 5
  490. # what part of a page matches the query string: title, text, nearmatch
  491. # * title - query matches title
  492. # * text - query matches the text of page
  493. # * nearmatch - nearmatch in title
  494. search_type: title
  495. timeout: 5.0
  496. disabled: true
  497. about:
  498. website: https://directory.fsf.org/
  499. wikidata_id: Q2470288
  500. # - name: freesound
  501. # engine: freesound
  502. # shortcut: fnd
  503. # disabled: true
  504. # timeout: 15.0
  505. # API key required, see: https://freesound.org/docs/api/overview.html
  506. # api_key: MyAPIkey
  507. - name: frinkiac
  508. engine: frinkiac
  509. shortcut: frk
  510. disabled: true
  511. - name: genius
  512. engine: genius
  513. shortcut: gen
  514. - name: gigablast
  515. engine: gigablast
  516. shortcut: gb
  517. timeout: 4.0
  518. disabled: true
  519. additional_tests:
  520. rosebud: *test_rosebud
  521. - name: gentoo
  522. engine: gentoo
  523. shortcut: ge
  524. - name: gitlab
  525. engine: json_engine
  526. paging: true
  527. search_url: https://gitlab.com/api/v4/projects?search={query}&page={pageno}
  528. url_query: web_url
  529. title_query: name_with_namespace
  530. content_query: description
  531. page_size: 20
  532. categories: [it, repos]
  533. shortcut: gl
  534. timeout: 10.0
  535. disabled: true
  536. about:
  537. website: https://about.gitlab.com/
  538. wikidata_id: Q16639197
  539. official_api_documentation: https://docs.gitlab.com/ee/api/
  540. use_official_api: false
  541. require_api_key: false
  542. results: JSON
  543. - name: github
  544. engine: github
  545. shortcut: gh
  546. # This a Gitea service. If you would like to use a different instance,
  547. # change codeberg.org to URL of the desired Gitea host. Or you can create a
  548. # new engine by copying this and changing the name, shortcut and search_url.
  549. - name: codeberg
  550. engine: json_engine
  551. search_url: https://codeberg.org/api/v1/repos/search?q={query}&limit=10
  552. url_query: html_url
  553. title_query: name
  554. content_query: description
  555. categories: [it, repos]
  556. shortcut: cb
  557. disabled: true
  558. about:
  559. website: https://codeberg.org/
  560. wikidata_id:
  561. official_api_documentation: https://try.gitea.io/api/swagger
  562. use_official_api: false
  563. require_api_key: false
  564. results: JSON
  565. - name: google
  566. engine: google
  567. shortcut: go
  568. # see https://docs.searxng.org/src/searx.engines.google.html#module-searx.engines.google
  569. use_mobile_ui: false
  570. # additional_tests:
  571. # android: *test_android
  572. # - name: google italian
  573. # engine: google
  574. # shortcut: goit
  575. # use_mobile_ui: false
  576. # language: it
  577. # - name: google mobile ui
  578. # engine: google
  579. # shortcut: gomui
  580. # use_mobile_ui: true
  581. - name: google images
  582. engine: google_images
  583. shortcut: goi
  584. # additional_tests:
  585. # android: *test_android
  586. # dali:
  587. # matrix:
  588. # query: ['Dali Christ']
  589. # lang: ['en', 'de', 'fr', 'zh-CN']
  590. # result_container:
  591. # - ['one_title_contains', 'Salvador']
  592. - name: google news
  593. engine: google_news
  594. shortcut: gon
  595. # additional_tests:
  596. # android: *test_android
  597. - name: google videos
  598. engine: google_videos
  599. shortcut: gov
  600. # additional_tests:
  601. # android: *test_android
  602. - name: google scholar
  603. engine: google_scholar
  604. shortcut: gos
  605. - name: google play apps
  606. engine: xpath
  607. search_url: https://play.google.com/store/search?q={query}&c=apps
  608. results_xpath: '//div[@class="ImZGtf mpg5gc"]'
  609. title_xpath: './/div[@class="RZEgze"]//div[@class="kCSSQe"]//a'
  610. url_xpath: './/div[@class="RZEgze"]//div[@class="kCSSQe"]//a/@href'
  611. content_xpath: './/div[@class="RZEgze"]//a[@class="mnKHRc"]'
  612. thumbnail_xpath: './/div[@class="uzcko"]/div/span[1]//img/@data-src'
  613. categories: [files, apps]
  614. shortcut: gpa
  615. disabled: true
  616. about:
  617. website: https://play.google.com/
  618. wikidata_id: Q79576
  619. official_api_documentation:
  620. use_official_api: false
  621. require_api_key: false
  622. results: HTML
  623. - name: google play movies
  624. engine: xpath
  625. search_url: https://play.google.com/store/search?q={query}&c=movies
  626. results_xpath: '//div[@class="ImZGtf mpg5gc"]'
  627. title_xpath: './/div[@class="RZEgze"]//div[@class="kCSSQe"]//a'
  628. url_xpath: './/div[@class="RZEgze"]//div[@class="kCSSQe"]//a/@href'
  629. content_xpath: './/div[@class="kCSSQe"]'
  630. thumbnail_xpath: './/div[@class="uzcko"]/div/span[1]//img/@data-src'
  631. categories: videos
  632. shortcut: gpm
  633. disabled: true
  634. about:
  635. website: https://play.google.com/
  636. wikidata_id: Q79576
  637. official_api_documentation:
  638. use_official_api: false
  639. require_api_key: false
  640. results: HTML
  641. - name: gpodder
  642. engine: json_engine
  643. shortcut: gpod
  644. timeout: 4.0
  645. paging: false
  646. search_url: https://gpodder.net/search.json?q={query}
  647. url_query: url
  648. title_query: title
  649. content_query: description
  650. page_size: 19
  651. categories: music
  652. disabled: true
  653. about:
  654. website: https://gpodder.net
  655. wikidata_id: Q3093354
  656. official_api_documentation: https://gpoddernet.readthedocs.io/en/latest/api/
  657. use_official_api: false
  658. requires_api_key: false
  659. results: JSON
  660. - name: habrahabr
  661. engine: xpath
  662. paging: true
  663. search_url: https://habrahabr.ru/search/page{pageno}/?q={query}
  664. url_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
  665. title_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]
  666. content_xpath: //article[contains(@class, "post")]//div[contains(@class, "post__text")]
  667. categories: it
  668. timeout: 4.0
  669. disabled: true
  670. shortcut: habr
  671. about:
  672. website: https://habr.com/
  673. wikidata_id: Q4494434
  674. official_api_documentation: https://habr.com/en/docs/help/api/
  675. use_official_api: false
  676. require_api_key: false
  677. results: HTML
  678. - name: hoogle
  679. engine: xpath
  680. paging: true
  681. search_url: https://hoogle.haskell.org/?hoogle={query}&start={pageno}
  682. results_xpath: '//div[@class="result"]'
  683. title_xpath: './/div[@class="ans"]//a'
  684. url_xpath: './/div[@class="ans"]//a/@href'
  685. content_xpath: './/div[@class="from"]'
  686. page_size: 20
  687. categories: [it, packages]
  688. shortcut: ho
  689. about:
  690. website: https://hoogle.haskell.org/
  691. wikidata_id: Q34010
  692. official_api_documentation: https://hackage.haskell.org/api
  693. use_official_api: false
  694. require_api_key: false
  695. results: JSON
  696. - name: imdb
  697. engine: imdb
  698. shortcut: imdb
  699. timeout: 6.0
  700. disabled: true
  701. - name: ina
  702. engine: ina
  703. shortcut: in
  704. timeout: 6.0
  705. disabled: true
  706. - name: invidious
  707. engine: invidious
  708. # Instanes will be selected randomly, see https://api.invidious.io/ for
  709. # instances that are stable (good uptime) and close to you.
  710. base_url:
  711. - https://invidious.snopyta.org
  712. - https://vid.puffyan.us
  713. # - https://invidious.kavin.rocks # Error 1020 // Access denied by Cloudflare
  714. - https://invidio.xamh.de
  715. - https://inv.riverside.rocks
  716. shortcut: iv
  717. timeout: 3.0
  718. disabled: true
  719. - name: jisho
  720. engine: jisho
  721. shortcut: js
  722. timeout: 3.0
  723. disabled: true
  724. - name: kickass
  725. engine: kickass
  726. shortcut: kc
  727. timeout: 4.0
  728. disabled: true
  729. - name: library genesis
  730. engine: xpath
  731. search_url: https://libgen.fun/search.php?req={query}
  732. url_xpath: //a[contains(@href,"get.php?md5")]/@href
  733. title_xpath: //a[contains(@href,"book/")]/text()[1]
  734. content_xpath: //td/a[1][contains(@href,"=author")]/text()
  735. categories: files
  736. timeout: 7.0
  737. disabled: true
  738. shortcut: lg
  739. about:
  740. website: https://libgen.fun/
  741. wikidata_id: Q22017206
  742. official_api_documentation:
  743. use_official_api: false
  744. require_api_key: false
  745. results: HTML
  746. - name: z-library
  747. engine: zlibrary
  748. shortcut: zlib
  749. categories: files
  750. timeout: 3.0
  751. # choose base_url, otherwise engine will do it at initialization time
  752. # base_url: https://b-ok.cc
  753. # base_url: https://de1lib.org
  754. # base_url: https://booksc.eu # does not have cover preview
  755. # base_url: https://booksc.org # does not have cover preview
  756. - name: library of congress
  757. engine: loc
  758. shortcut: loc
  759. categories: images
  760. - name: lobste.rs
  761. engine: xpath
  762. search_url: https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
  763. results_xpath: //li[contains(@class, "story")]
  764. url_xpath: .//a[@class="u-url"]/@href
  765. title_xpath: .//a[@class="u-url"]
  766. content_xpath: .//a[@class="domain"]
  767. categories: it
  768. shortcut: lo
  769. timeout: 5.0
  770. disabled: true
  771. about:
  772. website: https://lobste.rs/
  773. wikidata_id: Q60762874
  774. official_api_documentation:
  775. use_official_api: false
  776. require_api_key: false
  777. results: HTML
  778. - name: azlyrics
  779. shortcut: lyrics
  780. engine: xpath
  781. timeout: 4.0
  782. disabled: true
  783. categories: [music, lyrics]
  784. paging: true
  785. search_url: https://search.azlyrics.com/search.php?q={query}&w=lyrics&p={pageno}
  786. url_xpath: //td[@class="text-left visitedlyr"]/a/@href
  787. title_xpath: //span/b/text()
  788. content_xpath: //td[@class="text-left visitedlyr"]/a/small
  789. about:
  790. website: https://azlyrics.com
  791. wikidata_id: Q66372542
  792. official_api_documentation:
  793. use_official_api: false
  794. require_api_key: false
  795. results: HTML
  796. # - name: meilisearch
  797. # engine: meilisearch
  798. # shortcut: mes
  799. # enable_http: true
  800. # base_url: http://localhost:7700
  801. # index: my-index
  802. - name: mixcloud
  803. engine: mixcloud
  804. shortcut: mc
  805. # MongoDB engine
  806. # Required dependency: pymongo
  807. # - name: mymongo
  808. # engine: mongodb
  809. # shortcut: md
  810. # exact_match_only: false
  811. # host: '127.0.0.1'
  812. # port: 27017
  813. # enable_http: true
  814. # results_per_page: 20
  815. # database: 'business'
  816. # collection: 'reviews' # name of the db collection
  817. # key: 'name' # key in the collection to search for
  818. - name: npm
  819. engine: json_engine
  820. paging: true
  821. first_page_num: 0
  822. search_url: https://api.npms.io/v2/search?q={query}&size=25&from={pageno}
  823. results_query: results
  824. url_query: package/links/npm
  825. title_query: package/name
  826. content_query: package/description
  827. page_size: 25
  828. categories: [it, packages]
  829. disabled: true
  830. timeout: 5.0
  831. shortcut: npm
  832. about:
  833. website: https://npms.io/
  834. wikidata_id: Q7067518
  835. official_api_documentation: https://api-docs.npms.io/
  836. use_official_api: false
  837. require_api_key: false
  838. results: JSON
  839. - name: nyaa
  840. engine: nyaa
  841. shortcut: nt
  842. disabled: true
  843. - name: mankier
  844. engine: json_engine
  845. search_url: https://www.mankier.com/api/v2/mans/?q={query}
  846. results_query: results
  847. url_query: url
  848. title_query: name
  849. content_query: description
  850. categories: it
  851. shortcut: man
  852. about:
  853. website: https://www.mankier.com/
  854. official_api_documentation: https://www.mankier.com/api
  855. use_official_api: true
  856. require_api_key: false
  857. results: JSON
  858. - name: openairedatasets
  859. engine: json_engine
  860. paging: true
  861. search_url: https://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
  862. results_query: response/results/result
  863. url_query: metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  864. title_query: metadata/oaf:entity/oaf:result/title/$
  865. content_query: metadata/oaf:entity/oaf:result/description/$
  866. content_html_to_text: true
  867. categories: science
  868. shortcut: oad
  869. timeout: 5.0
  870. about:
  871. website: https://www.openaire.eu/
  872. wikidata_id: Q25106053
  873. official_api_documentation: https://api.openaire.eu/
  874. use_official_api: false
  875. require_api_key: false
  876. results: JSON
  877. - name: openairepublications
  878. engine: json_engine
  879. paging: true
  880. search_url: https://api.openaire.eu/search/publications?format=json&page={pageno}&size=10&title={query}
  881. results_query: response/results/result
  882. url_query: metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  883. title_query: metadata/oaf:entity/oaf:result/title/$
  884. content_query: metadata/oaf:entity/oaf:result/description/$
  885. content_html_to_text: true
  886. categories: science
  887. shortcut: oap
  888. timeout: 5.0
  889. about:
  890. website: https://www.openaire.eu/
  891. wikidata_id: Q25106053
  892. official_api_documentation: https://api.openaire.eu/
  893. use_official_api: false
  894. require_api_key: false
  895. results: JSON
  896. # - name: opensemanticsearch
  897. # engine: opensemantic
  898. # shortcut: oss
  899. # base_url: 'http://localhost:8983/solr/opensemanticsearch/'
  900. - name: openstreetmap
  901. engine: openstreetmap
  902. shortcut: osm
  903. - name: openrepos
  904. engine: xpath
  905. paging: true
  906. search_url: https://openrepos.net/search/node/{query}?page={pageno}
  907. url_xpath: //li[@class="search-result"]//h3[@class="title"]/a/@href
  908. title_xpath: //li[@class="search-result"]//h3[@class="title"]/a
  909. content_xpath: //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  910. categories: files
  911. timeout: 4.0
  912. disabled: true
  913. shortcut: or
  914. about:
  915. website: https://openrepos.net/
  916. wikidata_id:
  917. official_api_documentation:
  918. use_official_api: false
  919. require_api_key: false
  920. results: HTML
  921. - name: packagist
  922. engine: json_engine
  923. paging: true
  924. search_url: https://packagist.org/search.json?q={query}&page={pageno}
  925. results_query: results
  926. url_query: url
  927. title_query: name
  928. content_query: description
  929. categories: [it, packages]
  930. disabled: true
  931. timeout: 5.0
  932. shortcut: pack
  933. about:
  934. website: https://packagist.org
  935. wikidata_id: Q108311377
  936. official_api_documentation: https://packagist.org/apidoc
  937. use_official_api: true
  938. require_api_key: false
  939. results: JSON
  940. - name: pdbe
  941. engine: pdbe
  942. shortcut: pdb
  943. # Hide obsolete PDB entries. Default is not to hide obsolete structures
  944. # hide_obsolete: false
  945. - name: photon
  946. engine: photon
  947. shortcut: ph
  948. - name: piratebay
  949. engine: piratebay
  950. shortcut: tpb
  951. # You may need to change this URL to a proxy if piratebay is blocked in your
  952. # country
  953. url: https://thepiratebay.org/
  954. timeout: 3.0
  955. # Required dependency: psychopg2
  956. # - name: postgresql
  957. # engine: postgresql
  958. # database: postgres
  959. # username: postgres
  960. # password: postgres
  961. # limit: 10
  962. # query_str: 'SELECT * from my_table WHERE my_column = %(query)s'
  963. # shortcut : psql
  964. - name: pubmed
  965. engine: pubmed
  966. shortcut: pub
  967. categories: science
  968. timeout: 3.0
  969. - name: pypi
  970. shortcut: pypi
  971. engine: xpath
  972. paging: true
  973. search_url: https://pypi.org/search?q={query}&page={pageno}
  974. results_xpath: /html/body/main/div/div/div/form/div/ul/li/a[@class="package-snippet"]
  975. url_xpath: ./@href
  976. title_xpath: ./h3/span[@class="package-snippet__name"]
  977. content_xpath: ./p
  978. suggestion_xpath: /html/body/main/div/div/div/form/div/div[@class="callout-block"]/p/span/a[@class="link"]
  979. first_page_num: 1
  980. categories: [it, packages]
  981. about:
  982. website: https://pypi.org
  983. wikidata_id: Q2984686
  984. official_api_documentation: https://warehouse.readthedocs.io/api-reference/index.html
  985. use_official_api: false
  986. require_api_key: false
  987. results: HTML
  988. - name: qwant
  989. engine: qwant
  990. shortcut: qw
  991. categories: [general, web]
  992. disabled: false
  993. additional_tests:
  994. rosebud: *test_rosebud
  995. - name: qwant news
  996. engine: qwant
  997. shortcut: qwn
  998. categories: news
  999. disabled: false
  1000. network: qwant
  1001. - name: qwant images
  1002. engine: qwant
  1003. shortcut: qwi
  1004. categories: [images, web]
  1005. disabled: false
  1006. network: qwant
  1007. - name: qwant videos
  1008. engine: qwant
  1009. shortcut: qwv
  1010. categories: [videos, web]
  1011. disabled: false
  1012. network: qwant
  1013. # - name: library
  1014. # engine: recoll
  1015. # shortcut: lib
  1016. # base_url: 'https://recoll.example.org/'
  1017. # search_dir: ''
  1018. # mount_prefix: /export
  1019. # dl_prefix: 'https://download.example.org'
  1020. # timeout: 30.0
  1021. # categories: files
  1022. # disabled: true
  1023. # - name: recoll library reference
  1024. # engine: recoll
  1025. # base_url: 'https://recoll.example.org/'
  1026. # search_dir: reference
  1027. # mount_prefix: /export
  1028. # dl_prefix: 'https://download.example.org'
  1029. # shortcut: libr
  1030. # timeout: 30.0
  1031. # categories: files
  1032. # disabled: true
  1033. - name: reddit
  1034. engine: reddit
  1035. shortcut: re
  1036. page_size: 25
  1037. # Required dependency: redis
  1038. # - name: myredis
  1039. # shortcut : rds
  1040. # engine: redis_server
  1041. # exact_match_only: false
  1042. # host: '127.0.0.1'
  1043. # port: 6379
  1044. # enable_http: true
  1045. # password: ''
  1046. # db: 0
  1047. # tmp suspended: bad certificate
  1048. # - name: scanr structures
  1049. # shortcut: scs
  1050. # engine: scanr_structures
  1051. # disabled: true
  1052. - name: sepiasearch
  1053. engine: sepiasearch
  1054. shortcut: sep
  1055. - name: soundcloud
  1056. engine: soundcloud
  1057. shortcut: sc
  1058. - name: stackoverflow
  1059. engine: stackexchange
  1060. shortcut: st
  1061. api_site: 'stackoverflow'
  1062. categories: [it, q&a]
  1063. - name: askubuntu
  1064. engine: stackexchange
  1065. shortcut: ubuntu
  1066. api_site: 'askubuntu'
  1067. categories: [it, q&a]
  1068. - name: superuser
  1069. engine: stackexchange
  1070. shortcut: su
  1071. api_site: 'superuser'
  1072. categories: [it, q&a]
  1073. - name: searchcode code
  1074. engine: searchcode_code
  1075. shortcut: scc
  1076. disabled: true
  1077. - name: framalibre
  1078. engine: framalibre
  1079. shortcut: frl
  1080. disabled: true
  1081. # - name: searx
  1082. # engine: searx_engine
  1083. # shortcut: se
  1084. # instance_urls :
  1085. # - http://127.0.0.1:8888/
  1086. # - ...
  1087. # disabled: true
  1088. - name: semantic scholar
  1089. engine: semantic_scholar
  1090. disabled: true
  1091. shortcut: se
  1092. categories: science
  1093. # Spotify needs API credentials
  1094. # - name: spotify
  1095. # engine: spotify
  1096. # shortcut: stf
  1097. # api_client_id: *******
  1098. # api_client_secret: *******
  1099. # - name: solr
  1100. # engine: solr
  1101. # shortcut: slr
  1102. # base_url: http://localhost:8983
  1103. # collection: collection_name
  1104. # sort: '' # sorting: asc or desc
  1105. # field_list: '' # comma separated list of field names to display on the UI
  1106. # default_fields: '' # default field to query
  1107. # query_fields: '' # query fields
  1108. # enable_http: true
  1109. # - name: springer nature
  1110. # engine: springer
  1111. # # get your API key from: https://dev.springernature.com/signup
  1112. # # working API key, for test & debug: "a69685087d07eca9f13db62f65b8f601"
  1113. # api_key: 'unset'
  1114. # shortcut: springer
  1115. # categories: science
  1116. # timeout: 6.0
  1117. - name: startpage
  1118. engine: startpage
  1119. shortcut: sp
  1120. timeout: 6.0
  1121. disabled: true
  1122. additional_tests:
  1123. rosebud: *test_rosebud
  1124. - name: tokyotoshokan
  1125. engine: tokyotoshokan
  1126. shortcut: tt
  1127. timeout: 6.0
  1128. disabled: true
  1129. - name: solidtorrents
  1130. engine: solidtorrents
  1131. shortcut: solid
  1132. timeout: 4.0
  1133. disabled: false
  1134. base_url:
  1135. - https://solidtorrents.net
  1136. - https://solidtorrents.eu
  1137. - https://solidtorrents.to
  1138. - https://bitsearch.to
  1139. # For this demo of the sqlite engine download:
  1140. # https://liste.mediathekview.de/filmliste-v2.db.bz2
  1141. # and unpack into searx/data/filmliste-v2.db
  1142. # Query to test: "!demo concert"
  1143. #
  1144. # - name: demo
  1145. # engine: sqlite
  1146. # shortcut: demo
  1147. # categories: general
  1148. # result_template: default.html
  1149. # database: searx/data/filmliste-v2.db
  1150. # query_str: >-
  1151. # SELECT title || ' (' || time(duration, 'unixepoch') || ')' AS title,
  1152. # COALESCE( NULLIF(url_video_hd,''), NULLIF(url_video_sd,''), url_video) AS url,
  1153. # description AS content
  1154. # FROM film
  1155. # WHERE title LIKE :wildcard OR description LIKE :wildcard
  1156. # ORDER BY duration DESC
  1157. # disabled: false
  1158. # Requires Tor
  1159. - name: torch
  1160. engine: xpath
  1161. paging: true
  1162. search_url:
  1163. http://xmh57jrknzkhv6y3ls3ubitzfqnkrwxhopf5aygthi7d6rplyvk3noyd.onion/cgi-bin/omega/omega?P={query}&DEFAULTOP=and
  1164. results_xpath: //table//tr
  1165. url_xpath: ./td[2]/a
  1166. title_xpath: ./td[2]/b
  1167. content_xpath: ./td[2]/small
  1168. categories: onions
  1169. enable_http: true
  1170. shortcut: tch
  1171. # torznab engine lets you query any torznab compatible indexer. Using this
  1172. # engine in combination with Jackett (https://github.com/Jackett/Jackett)
  1173. # opens the possibility to query a lot of public and private indexers directly
  1174. # from SearXNG.
  1175. # - name: torznab
  1176. # engine: torznab
  1177. # shortcut: trz
  1178. # base_url: http://localhost:9117/api/v2.0/indexers/all/results/torznab
  1179. # enable_http: true # if using localhost
  1180. # api_key: xxxxxxxxxxxxxxx
  1181. # # https://github.com/Jackett/Jackett/wiki/Jackett-Categories
  1182. # torznab_categories: # optional
  1183. # - 2000
  1184. # - 5000
  1185. # maybe in a fun category
  1186. # - name: uncyclopedia
  1187. # engine: mediawiki
  1188. # shortcut: unc
  1189. # base_url: https://uncyclopedia.wikia.com/
  1190. # number_of_results: 5
  1191. # tmp suspended - too slow, too many errors
  1192. # - name: urbandictionary
  1193. # engine : xpath
  1194. # search_url : https://www.urbandictionary.com/define.php?term={query}
  1195. # url_xpath : //*[@class="word"]/@href
  1196. # title_xpath : //*[@class="def-header"]
  1197. # content_xpath: //*[@class="meaning"]
  1198. # shortcut: ud
  1199. - name: unsplash
  1200. engine: unsplash
  1201. shortcut: us
  1202. - name: yahoo
  1203. engine: yahoo
  1204. shortcut: yh
  1205. disabled: true
  1206. - name: yahoo news
  1207. engine: yahoo_news
  1208. shortcut: yhn
  1209. - name: youtube
  1210. shortcut: yt
  1211. # You can use the engine using the official stable API, but you need an API
  1212. # key See: https://console.developers.google.com/project
  1213. #
  1214. # engine: youtube_api
  1215. # api_key: 'apikey' # required!
  1216. #
  1217. # Or you can use the html non-stable engine, activated by default
  1218. engine: youtube_noapi
  1219. - name: dailymotion
  1220. engine: dailymotion
  1221. shortcut: dm
  1222. - name: vimeo
  1223. engine: vimeo
  1224. shortcut: vm
  1225. - name: wiby
  1226. engine: json_engine
  1227. search_url: https://wiby.me/json/?q={query}
  1228. url_query: URL
  1229. title_query: Title
  1230. content_query: Snippet
  1231. categories: [general, web]
  1232. shortcut: wib
  1233. disabled: true
  1234. about:
  1235. website: https://wiby.me/
  1236. - name: alexandria
  1237. engine: json_engine
  1238. shortcut: alx
  1239. categories: general
  1240. paging: true
  1241. search_url: https://api.alexandria.org/?a=1&q={query}&p={pageno}
  1242. results_query: results
  1243. title_query: title
  1244. url_query: url
  1245. content_query: snippet
  1246. timeout: 1.5
  1247. disabled: true
  1248. about:
  1249. website: https://alexandria.org/
  1250. official_api_documentation: https://github.com/alexandria-org/alexandria-api/raw/master/README.md
  1251. use_official_api: true
  1252. require_api_key: false
  1253. results: JSON
  1254. - name: wikibooks
  1255. engine: mediawiki
  1256. shortcut: wb
  1257. categories: general
  1258. base_url: "https://{language}.wikibooks.org/"
  1259. number_of_results: 5
  1260. search_type: text
  1261. disabled: true
  1262. about:
  1263. website: https://www.wikibooks.org/
  1264. wikidata_id: Q367
  1265. - name: wikinews
  1266. engine: mediawiki
  1267. shortcut: wn
  1268. categories: news
  1269. base_url: "https://{language}.wikinews.org/"
  1270. number_of_results: 5
  1271. search_type: text
  1272. disabled: true
  1273. about:
  1274. website: https://www.wikinews.org/
  1275. wikidata_id: Q964
  1276. - name: wikiquote
  1277. engine: mediawiki
  1278. shortcut: wq
  1279. categories: general
  1280. base_url: "https://{language}.wikiquote.org/"
  1281. number_of_results: 5
  1282. search_type: text
  1283. disabled: true
  1284. additional_tests:
  1285. rosebud: *test_rosebud
  1286. about:
  1287. website: https://www.wikiquote.org/
  1288. wikidata_id: Q369
  1289. - name: wikisource
  1290. engine: mediawiki
  1291. shortcut: ws
  1292. categories: general
  1293. base_url: "https://{language}.wikisource.org/"
  1294. number_of_results: 5
  1295. search_type: text
  1296. disabled: true
  1297. about:
  1298. website: https://www.wikisource.org/
  1299. wikidata_id: Q263
  1300. - name: wiktionary
  1301. engine: mediawiki
  1302. shortcut: wt
  1303. categories: [dictionaries]
  1304. base_url: "https://{language}.wiktionary.org/"
  1305. number_of_results: 5
  1306. search_type: text
  1307. disabled: false
  1308. about:
  1309. website: https://www.wiktionary.org/
  1310. wikidata_id: Q151
  1311. - name: wikiversity
  1312. engine: mediawiki
  1313. shortcut: wv
  1314. categories: general
  1315. base_url: "https://{language}.wikiversity.org/"
  1316. number_of_results: 5
  1317. search_type: text
  1318. disabled: true
  1319. about:
  1320. website: https://www.wikiversity.org/
  1321. wikidata_id: Q370
  1322. - name: wikivoyage
  1323. engine: mediawiki
  1324. shortcut: wy
  1325. categories: general
  1326. base_url: "https://{language}.wikivoyage.org/"
  1327. number_of_results: 5
  1328. search_type: text
  1329. disabled: true
  1330. about:
  1331. website: https://www.wikivoyage.org/
  1332. wikidata_id: Q373
  1333. - name: wolframalpha
  1334. shortcut: wa
  1335. # You can use the engine using the official stable API, but you need an API
  1336. # key. See: https://products.wolframalpha.com/api/
  1337. #
  1338. # engine: wolframalpha_api
  1339. # api_key: ''
  1340. #
  1341. # Or you can use the html non-stable engine, activated by default
  1342. engine: wolframalpha_noapi
  1343. timeout: 6.0
  1344. categories: []
  1345. - name: dictzone
  1346. engine: dictzone
  1347. shortcut: dc
  1348. - name: mymemory translated
  1349. engine: translated
  1350. shortcut: tl
  1351. timeout: 5.0
  1352. disabled: false
  1353. # You can use without an API key, but you are limited to 1000 words/day
  1354. # See: https://mymemory.translated.net/doc/usagelimits.php
  1355. # api_key: ''
  1356. # Required dependency: mysql-connector-python
  1357. # - name: mysql
  1358. # engine: mysql_server
  1359. # database: mydatabase
  1360. # username: user
  1361. # password: pass
  1362. # limit: 10
  1363. # query_str: 'SELECT * from mytable WHERE fieldname=%(query)s'
  1364. # shortcut: mysql
  1365. - name: 1337x
  1366. engine: 1337x
  1367. shortcut: 1337x
  1368. disabled: true
  1369. - name: duden
  1370. engine: duden
  1371. shortcut: du
  1372. disabled: true
  1373. - name: seznam
  1374. shortcut: szn
  1375. engine: seznam
  1376. disabled: true
  1377. - name: mojeek
  1378. shortcut: mjk
  1379. engine: xpath
  1380. paging: true
  1381. categories: [general, web]
  1382. search_url: https://www.mojeek.com/search?q={query}&s={pageno}
  1383. results_xpath: //a[@class="ob"]
  1384. url_xpath: ./@href
  1385. title_xpath: ./..
  1386. content_xpath: ../../p[@class="s"]
  1387. suggestion_xpath: /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
  1388. first_page_num: 0
  1389. page_size: 10
  1390. disabled: true
  1391. about:
  1392. website: https://www.mojeek.com/
  1393. wikidata_id: Q60747299
  1394. official_api_documentation: https://www.mojeek.com/services/api.html/
  1395. use_official_api: false
  1396. require_api_key: false
  1397. results: HTML
  1398. - name: naver
  1399. shortcut: nvr
  1400. categories: [general, web]
  1401. engine: xpath
  1402. paging: true
  1403. search_url: https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno}
  1404. url_xpath: //a[@class="link_tit"]/@href
  1405. title_xpath: //a[@class="link_tit"]
  1406. content_xpath: //a[@class="total_dsc"]/div
  1407. first_page_num: 1
  1408. page_size: 10
  1409. disabled: true
  1410. about:
  1411. website: https://www.naver.com/
  1412. wikidata_id: Q485639
  1413. official_api_documentation: https://developers.naver.com/docs/nmt/examples/
  1414. use_official_api: false
  1415. require_api_key: false
  1416. results: HTML
  1417. language: ko
  1418. - name: rubygems
  1419. shortcut: rbg
  1420. engine: xpath
  1421. paging: true
  1422. search_url: https://rubygems.org/search?page={pageno}&query={query}
  1423. results_xpath: /html/body/main/div/a[@class="gems__gem"]
  1424. url_xpath: ./@href
  1425. title_xpath: ./span/h2
  1426. content_xpath: ./span/p
  1427. suggestion_xpath: /html/body/main/div/div[@class="search__suggestions"]/p/a
  1428. first_page_num: 1
  1429. categories: [it, packages]
  1430. disabled: true
  1431. about:
  1432. website: https://rubygems.org/
  1433. wikidata_id: Q1853420
  1434. official_api_documentation: https://guides.rubygems.org/rubygems-org-api/
  1435. use_official_api: false
  1436. require_api_key: false
  1437. results: HTML
  1438. - name: peertube
  1439. engine: peertube
  1440. shortcut: ptb
  1441. paging: true
  1442. # https://instances.joinpeertube.org/instances
  1443. base_url: https://peertube.biz/
  1444. # base_url: https://tube.tardis.world/
  1445. categories: videos
  1446. disabled: true
  1447. timeout: 6.0
  1448. - name: mediathekviewweb
  1449. engine: mediathekviewweb
  1450. shortcut: mvw
  1451. disabled: true
  1452. # - name: yacy
  1453. # engine: yacy
  1454. # shortcut: ya
  1455. # base_url: 'http://localhost:8090
  1456. # required if you aren't using HTTPS for your local yacy instance'
  1457. # enable_http: true
  1458. # number_of_results: 5
  1459. # timeout: 3.0
  1460. - name: rumble
  1461. engine: rumble
  1462. shortcut: ru
  1463. base_url: https://rumble.com/
  1464. paging: true
  1465. categories: videos
  1466. disabled: true
  1467. - name: wordnik
  1468. engine: wordnik
  1469. shortcut: def
  1470. base_url: https://www.wordnik.com/
  1471. categories: [dictionaries]
  1472. timeout: 5.0
  1473. disabled: false
  1474. - name: woxikon.de synonyme
  1475. engine: xpath
  1476. shortcut: woxi
  1477. categories: [dictionaries]
  1478. timeout: 5.0
  1479. disabled: true
  1480. search_url: https://synonyme.woxikon.de/synonyme/{query}.php
  1481. url_xpath: //div[@class="upper-synonyms"]/a/@href
  1482. content_xpath: //div[@class="synonyms-list-group"]
  1483. title_xpath: //div[@class="upper-synonyms"]/a
  1484. about:
  1485. website: https://www.woxikon.de/
  1486. wikidata_id: # No Wikidata ID
  1487. use_official_api: false
  1488. require_api_key: false
  1489. results: HTML
  1490. language: de
  1491. - name: słownik języka polskiego
  1492. engine: sjp
  1493. shortcut: sjp
  1494. base_url: https://sjp.pwn.pl/
  1495. timeout: 5.0
  1496. disabled: true
  1497. # wikimini: online encyclopedia for children
  1498. # The fulltext and title parameter is necessary for Wikimini because
  1499. # sometimes it will not show the results and redirect instead
  1500. - name: wikimini
  1501. engine: xpath
  1502. shortcut: wkmn
  1503. search_url: https://fr.wikimini.org/w/index.php?search={query}&title=Sp%C3%A9cial%3ASearch&fulltext=Search
  1504. url_xpath: //li/div[@class="mw-search-result-heading"]/a/@href
  1505. title_xpath: //li//div[@class="mw-search-result-heading"]/a
  1506. content_xpath: //li/div[@class="searchresult"]
  1507. categories: general
  1508. disabled: true
  1509. about:
  1510. website: https://wikimini.org/
  1511. wikidata_id: Q3568032
  1512. use_official_api: false
  1513. require_api_key: false
  1514. results: HTML
  1515. language: fr
  1516. - name: brave
  1517. shortcut: brave
  1518. engine: xpath
  1519. paging: true
  1520. first_page_num: 0
  1521. search_url: https://search.brave.com/search?q={query}&offset={pageno}&spellcheck=1
  1522. url_xpath: //a[@class="result-header"]/@href
  1523. title_xpath: //span[@class="snippet-title"]
  1524. content_xpath: //p[1][@class="snippet-description"]
  1525. suggestion_xpath: //div[@class="text-gray h6"]/a
  1526. categories: [general, web]
  1527. about:
  1528. website: https://brave.com/search/
  1529. wikidata_id: Q107355971
  1530. use_official_api: false
  1531. require_api_key: false
  1532. results: HTML
  1533. - name: petalsearch
  1534. shortcut: pts
  1535. engine: xpath
  1536. paging: true
  1537. search_url: https://petalsearch.com/search?query={query}&pn={pageno}
  1538. results_xpath: //div[@class="webpage-content"]/div[@class="title-cont"]/a
  1539. url_xpath: ./@href
  1540. title_xpath: .
  1541. content_xpath: ../../div[@class="webpage-text"]
  1542. suggestion_xpath: //div[@class="related-search-items"]/a
  1543. first_page_num: 1
  1544. disabled: true
  1545. about:
  1546. website: https://petalsearch.com/
  1547. wikidata_id: Q104399280
  1548. use_official_api: false
  1549. require_api_key: false
  1550. results: HTML
  1551. - name: petalsearch images
  1552. engine: petal_images
  1553. shortcut: ptsi
  1554. disabled: true
  1555. timeout: 3.0
  1556. - name: petalsearch news
  1557. shortcut: ptsn
  1558. categories: news
  1559. engine: xpath
  1560. paging: true
  1561. search_url: https://petalsearch.com/search?channel=news&query={query}&pn={pageno}
  1562. results_xpath: //div[@class="news-container"]/div/div/div/a
  1563. url_xpath: ./@href
  1564. title_xpath: ./div
  1565. content_xpath: ../div[@class="news-text"]
  1566. thumbnail_xpath: ../../../../img/@src
  1567. first_page_num: 1
  1568. disabled: true
  1569. about:
  1570. website: https://petalsearch.com/
  1571. wikidata_id: Q104399280
  1572. use_official_api: false
  1573. require_api_key: false
  1574. results: HTML
  1575. # Doku engine lets you access to any Doku wiki instance:
  1576. # A public one or a privete/corporate one.
  1577. # - name: ubuntuwiki
  1578. # engine: doku
  1579. # shortcut: uw
  1580. # base_url: 'https://doc.ubuntu-fr.org'
  1581. # Be careful when enabling this engine if you are
  1582. # running a public instance. Do not expose any sensitive
  1583. # information. You can restrict access by configuring a list
  1584. # of access tokens under tokens.
  1585. # - name: git grep
  1586. # engine: command
  1587. # command: ['git', 'grep', '{{QUERY}}']
  1588. # shortcut: gg
  1589. # tokens: []
  1590. # disabled: true
  1591. # delimiter:
  1592. # chars: ':'
  1593. # keys: ['filepath', 'code']
  1594. # Be careful when enabling this engine if you are
  1595. # running a public instance. Do not expose any sensitive
  1596. # information. You can restrict access by configuring a list
  1597. # of access tokens under tokens.
  1598. # - name: locate
  1599. # engine: command
  1600. # command: ['locate', '{{QUERY}}']
  1601. # shortcut: loc
  1602. # tokens: []
  1603. # disabled: true
  1604. # delimiter:
  1605. # chars: ' '
  1606. # keys: ['line']
  1607. # Be careful when enabling this engine if you are
  1608. # running a public instance. Do not expose any sensitive
  1609. # information. You can restrict access by configuring a list
  1610. # of access tokens under tokens.
  1611. # - name: find
  1612. # engine: command
  1613. # command: ['find', '.', '-name', '{{QUERY}}']
  1614. # query_type: path
  1615. # shortcut: fnd
  1616. # tokens: []
  1617. # disabled: true
  1618. # delimiter:
  1619. # chars: ' '
  1620. # keys: ['line']
  1621. # Be careful when enabling this engine if you are
  1622. # running a public instance. Do not expose any sensitive
  1623. # information. You can restrict access by configuring a list
  1624. # of access tokens under tokens.
  1625. # - name: pattern search in files
  1626. # engine: command
  1627. # command: ['fgrep', '{{QUERY}}']
  1628. # shortcut: fgr
  1629. # tokens: []
  1630. # disabled: true
  1631. # delimiter:
  1632. # chars: ' '
  1633. # keys: ['line']
  1634. # Be careful when enabling this engine if you are
  1635. # running a public instance. Do not expose any sensitive
  1636. # information. You can restrict access by configuring a list
  1637. # of access tokens under tokens.
  1638. # - name: regex search in files
  1639. # engine: command
  1640. # command: ['grep', '{{QUERY}}']
  1641. # shortcut: gr
  1642. # tokens: []
  1643. # disabled: true
  1644. # delimiter:
  1645. # chars: ' '
  1646. # keys: ['line']
  1647. doi_resolvers:
  1648. oadoi.org: 'https://oadoi.org/'
  1649. doi.org: 'https://doi.org/'
  1650. doai.io: 'https://dissem.in/'
  1651. sci-hub.se: 'https://sci-hub.se/'
  1652. sci-hub.do: 'https://sci-hub.do/'
  1653. scihubtw.tw: 'https://scihubtw.tw/'
  1654. sci-hub.st: 'https://sci-hub.st/'
  1655. sci-hub.bar: 'https://sci-hub.bar/'
  1656. sci-hub.it.nf: 'https://sci-hub.it.nf/'
  1657. default_doi_resolver: 'oadoi.org'