settings.yml 54 KB

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