settings.yml 54 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038
  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. # remove format to deny access, use lower case.
  47. # formats: [html, csv, json, rss]
  48. formats:
  49. - html
  50. server:
  51. # If you change port, bind_address or base_url don't forget to rebuild
  52. # instance's enviroment (make buildenv)
  53. port: 8888
  54. bind_address: "127.0.0.1"
  55. base_url: false # Possible values: false or "https://example.org/location".
  56. limiter: false # rate limit the number of request on the instance, block some bots
  57. # If your instance owns a /etc/searxng/settings.yml file, then set the following
  58. # values there.
  59. secret_key: "ultrasecretkey" # change this!
  60. # Proxying image results through searx
  61. image_proxy: false
  62. # 1.0 and 1.1 are supported
  63. http_protocol_version: "1.0"
  64. # POST queries are more secure as they don't show up in history but may cause
  65. # problems when using Firefox containers
  66. method: "POST"
  67. default_http_headers:
  68. X-Content-Type-Options: nosniff
  69. X-XSS-Protection: 1; mode=block
  70. X-Download-Options: noopen
  71. X-Robots-Tag: noindex, nofollow
  72. Referrer-Policy: no-referrer
  73. redis:
  74. # https://redis-py.readthedocs.io/en/stable/connections.html#redis.client.Redis.from_url
  75. url: unix:///usr/local/searxng-redis/run/redis.sock?db=0
  76. ui:
  77. # Custom static path - leave it blank if you didn't change
  78. static_path: ""
  79. static_use_hash: false
  80. # Custom templates path - leave it blank if you didn't change
  81. templates_path: ""
  82. # query_in_title: When true, the result page's titles contains the query
  83. # it decreases the privacy, since the browser can records the page titles.
  84. query_in_title: false
  85. # infinite_scroll: When true, automatically loads the next page when scrolling to bottom of the current page.
  86. infinite_scroll: false
  87. # ui theme
  88. default_theme: simple
  89. # center the results ?
  90. center_alignment: false
  91. # URL prefix of the internet archive, don't forgett trailing slash (if needed).
  92. # cache_url: "https://webcache.googleusercontent.com/search?q=cache:"
  93. # Default interface locale - leave blank to detect from browser information or
  94. # use codes from the 'locales' config section
  95. default_locale: ""
  96. # Open result links in a new tab by default
  97. # results_on_new_tab: false
  98. theme_args:
  99. # style of simple theme: auto, light, dark
  100. simple_style: auto
  101. # Lock arbitrary settings on the preferences page. To find the ID of the user
  102. # setting you want to lock, check the ID of the form on the page "preferences".
  103. #
  104. # preferences:
  105. # lock:
  106. # - language
  107. # - autocomplete
  108. # - method
  109. # - query_in_title
  110. # searx supports result proxification using an external service:
  111. # https://github.com/asciimoo/morty uncomment below section if you have running
  112. # morty proxy the key is base64 encoded (keep the !!binary notation)
  113. # Note: since commit af77ec3, morty accepts a base64 encoded key.
  114. #
  115. # result_proxy:
  116. # url: http://127.0.0.1:3000/
  117. # # the key is a base64 encoded string, the YAML !!binary prefix is optional
  118. # key: !!binary "your_morty_proxy_key"
  119. # # [true|false] enable the "proxy" button next to each result
  120. # proxify_results: true
  121. # communication with search engines
  122. #
  123. outgoing:
  124. # default timeout in seconds, can be override by engine
  125. request_timeout: 3.0
  126. # the maximum timeout in seconds
  127. # max_request_timeout: 10.0
  128. # suffix of searx_useragent, could contain informations like an email address
  129. # to the administrator
  130. useragent_suffix: ""
  131. # The maximum number of concurrent connections that may be established.
  132. pool_connections: 100
  133. # Allow the connection pool to maintain keep-alive connections below this
  134. # point.
  135. pool_maxsize: 20
  136. # See https://www.python-httpx.org/http2/
  137. enable_http2: true
  138. # uncomment below section if you want to use a proxyq see: SOCKS proxies
  139. # https://2.python-requests.org/en/latest/user/advanced/#proxies
  140. # are also supported: see
  141. # https://2.python-requests.org/en/latest/user/advanced/#socks
  142. #
  143. # proxies:
  144. # all://:
  145. # - http://proxy1:8080
  146. # - http://proxy2:8080
  147. #
  148. # using_tor_proxy: true
  149. #
  150. # Extra seconds to add in order to account for the time taken by the proxy
  151. #
  152. # extra_proxy_timeout: 10.0
  153. #
  154. # uncomment below section only if you have more than one network interface
  155. # which can be the source of outgoing search requests
  156. #
  157. # source_ips:
  158. # - 1.1.1.1
  159. # - 1.1.1.2
  160. # - fe80::/126
  161. # External plugin configuration, for more details see
  162. # https://docs.searxng.org/dev/plugins.html
  163. #
  164. # plugins:
  165. # - plugin1
  166. # - plugin2
  167. # - ...
  168. # Comment or un-comment plugin to activate / deactivate by default.
  169. #
  170. # enabled_plugins:
  171. # # these plugins are enabled if nothing is configured ..
  172. # - 'Hash plugin'
  173. # - 'Search on category select'
  174. # - 'Self Informations'
  175. # - 'Tracker URL remover'
  176. # - 'Ahmia blacklist' # activation depends on outgoing.using_tor_proxy
  177. # # these plugins are disabled if nothing is configured ..
  178. # - 'Hostname replace' # see hostname_replace configuration below
  179. # - 'Open Access DOI rewrite'
  180. # - 'Vim-like hotkeys'
  181. # - 'Tor check plugin'
  182. # Configuration of the "Hostname replace" plugin:
  183. #
  184. # hostname_replace:
  185. # '(.*\.)?youtube\.com$': 'invidious.example.com'
  186. # '(.*\.)?youtu\.be$': 'invidious.example.com'
  187. # '(.*\.)?youtube-noocookie\.com$': 'yotter.example.com'
  188. # '(.*\.)?reddit\.com$': 'teddit.example.com'
  189. # '(.*\.)?redd\.it$': 'teddit.example.com'
  190. # '(www\.)?twitter\.com$': 'nitter.example.com'
  191. # # to remove matching host names from result list, set value to false
  192. # 'spam\.example\.com': false
  193. checker:
  194. # disable checker when in debug mode
  195. off_when_debug: true
  196. # use "scheduling: false" to disable scheduling
  197. # scheduling: interval or int
  198. # to activate the scheduler:
  199. # * uncomment "scheduling" section
  200. # * add "cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1"
  201. # to your uwsgi.ini
  202. # scheduling:
  203. # start_after: [300, 1800] # delay to start the first run of the checker
  204. # every: [86400, 90000] # how often the checker runs
  205. # additional tests: only for the YAML anchors (see the engines section)
  206. #
  207. additional_tests:
  208. rosebud: &test_rosebud
  209. matrix:
  210. query: rosebud
  211. lang: en
  212. result_container:
  213. - not_empty
  214. - ['one_title_contains', 'citizen kane']
  215. test:
  216. - unique_results
  217. android: &test_android
  218. matrix:
  219. query: ['android']
  220. lang: ['en', 'de', 'fr', 'zh-CN']
  221. result_container:
  222. - not_empty
  223. - ['one_title_contains', 'google']
  224. test:
  225. - unique_results
  226. # tests: only for the YAML anchors (see the engines section)
  227. tests:
  228. infobox: &tests_infobox
  229. infobox:
  230. matrix:
  231. query: ["linux", "new york", "bbc"]
  232. result_container:
  233. - has_infobox
  234. categories_as_tabs:
  235. general:
  236. images:
  237. videos:
  238. news:
  239. map:
  240. music:
  241. it:
  242. science:
  243. files:
  244. social media:
  245. engines:
  246. - name: 9gag
  247. engine: 9gag
  248. shortcut: 9g
  249. disabled: true
  250. - name: apk mirror
  251. engine: apkmirror
  252. timeout: 4.0
  253. shortcut: apkm
  254. disabled: true
  255. - name: apple app store
  256. engine: apple_app_store
  257. shortcut: aps
  258. disabled: true
  259. # Requires Tor
  260. - name: ahmia
  261. engine: ahmia
  262. categories: onions
  263. enable_http: true
  264. shortcut: ah
  265. - name: arch linux wiki
  266. engine: archlinux
  267. shortcut: al
  268. - name: archive is
  269. engine: xpath
  270. search_url: https://archive.is/search/?q={query}
  271. url_xpath: (//div[@class="TEXT-BLOCK"]/a)/@href
  272. title_xpath: (//div[@class="TEXT-BLOCK"]/a)
  273. content_xpath: //div[@class="TEXT-BLOCK"]/ul/li
  274. categories: general
  275. timeout: 7.0
  276. disabled: true
  277. shortcut: ai
  278. soft_max_redirects: 1
  279. about:
  280. website: https://archive.is/
  281. wikidata_id: Q13515725
  282. official_api_documentation: https://mementoweb.org/depot/native/archiveis/
  283. use_official_api: false
  284. require_api_key: false
  285. results: HTML
  286. - name: artic
  287. engine: artic
  288. shortcut: arc
  289. timeout: 4.0
  290. - name: arxiv
  291. engine: arxiv
  292. shortcut: arx
  293. timeout: 4.0
  294. # tmp suspended: dh key too small
  295. # - name: base
  296. # engine: base
  297. # shortcut: bs
  298. - name: bandcamp
  299. engine: bandcamp
  300. shortcut: bc
  301. categories: music
  302. - name: wikipedia
  303. engine: wikipedia
  304. shortcut: wp
  305. base_url: 'https://{language}.wikipedia.org/'
  306. - name: bing
  307. engine: bing
  308. shortcut: bi
  309. disabled: true
  310. - name: bing images
  311. engine: bing_images
  312. shortcut: bii
  313. - name: bing news
  314. engine: bing_news
  315. shortcut: bin
  316. - name: bing videos
  317. engine: bing_videos
  318. shortcut: biv
  319. - name: bitbucket
  320. engine: xpath
  321. paging: true
  322. search_url: https://bitbucket.org/repo/all/{pageno}?name={query}
  323. url_xpath: //article[@class="repo-summary"]//a[@class="repo-link"]/@href
  324. title_xpath: //article[@class="repo-summary"]//a[@class="repo-link"]
  325. content_xpath: //article[@class="repo-summary"]/p
  326. categories: [it, repos]
  327. timeout: 4.0
  328. disabled: true
  329. shortcut: bb
  330. about:
  331. website: https://bitbucket.org/
  332. wikidata_id: Q2493781
  333. official_api_documentation: https://developer.atlassian.com/bitbucket
  334. use_official_api: false
  335. require_api_key: false
  336. results: HTML
  337. - name: btdigg
  338. engine: btdigg
  339. shortcut: bt
  340. - name: ccc-tv
  341. engine: xpath
  342. paging: false
  343. search_url: https://media.ccc.de/search/?q={query}
  344. url_xpath: //div[@class="caption"]/h3/a/@href
  345. title_xpath: //div[@class="caption"]/h3/a/text()
  346. content_xpath: //div[@class="caption"]/h4/@title
  347. categories: videos
  348. disabled: true
  349. shortcut: c3tv
  350. about:
  351. website: https://media.ccc.de/
  352. wikidata_id: Q80729951
  353. official_api_documentation: https://github.com/voc/voctoweb
  354. use_official_api: false
  355. require_api_key: false
  356. results: HTML
  357. # We don't set language: de here because media.ccc.de is not just
  358. # for a German audience. It contains many English videos and many
  359. # German videos have English subtitles.
  360. - name: openverse
  361. engine: openverse
  362. categories: images
  363. shortcut: opv
  364. # - name: core.ac.uk
  365. # engine: core
  366. # categories: science
  367. # shortcut: cor
  368. # # get your API key from: https://core.ac.uk/api-keys/register/
  369. # api_key: 'unset'
  370. - name: crossref
  371. engine: crossref
  372. shortcut: cr
  373. timeout: 30
  374. disabled: true
  375. - name: yep
  376. engine: json_engine
  377. shortcut: yep
  378. categories: general
  379. disabled: true
  380. paging: false
  381. content_html_to_text: true
  382. title_html_to_text: true
  383. search_url: https://api.yep.com/fs/1/?type=web&q={query}&no_correct=false&limit=100
  384. results_query: 1/results
  385. title_query: title
  386. url_query: url
  387. content_query: snippet
  388. about:
  389. website: https://yep.com
  390. use_official_api: false
  391. require_api_key: false
  392. results: JSON
  393. - name: curlie
  394. engine: xpath
  395. shortcut: cl
  396. categories: general
  397. disabled: true
  398. paging: true
  399. lang_all: ''
  400. search_url: https://curlie.org/search?q={query}&lang={lang}&start={pageno}&stime=92452189
  401. page_size: 20
  402. results_xpath: //div[@id="site-list-content"]/div[@class="site-item"]
  403. url_xpath: ./div[@class="title-and-desc"]/a/@href
  404. title_xpath: ./div[@class="title-and-desc"]/a/div
  405. content_xpath: ./div[@class="title-and-desc"]/div[@class="site-descr"]
  406. about:
  407. website: https://curlie.org/
  408. wikidata_id: Q60715723
  409. use_official_api: false
  410. require_api_key: false
  411. results: HTML
  412. - name: currency
  413. engine: currency_convert
  414. categories: general
  415. shortcut: cc
  416. - name: deezer
  417. engine: deezer
  418. shortcut: dz
  419. disabled: true
  420. - name: deviantart
  421. engine: deviantart
  422. shortcut: da
  423. timeout: 3.0
  424. - name: ddg definitions
  425. engine: duckduckgo_definitions
  426. shortcut: ddd
  427. weight: 2
  428. disabled: true
  429. tests: *tests_infobox
  430. # cloudflare protected
  431. # - name: digbt
  432. # engine: digbt
  433. # shortcut: dbt
  434. # timeout: 6.0
  435. # disabled: true
  436. - name: docker hub
  437. engine: docker_hub
  438. shortcut: dh
  439. categories: [it, packages]
  440. - name: erowid
  441. engine: xpath
  442. paging: true
  443. first_page_num: 0
  444. page_size: 30
  445. search_url: https://www.erowid.org/search.php?q={query}&s={pageno}
  446. url_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
  447. title_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
  448. content_xpath: //dl[@class="results-list"]/dd[@class="result-details"]
  449. categories: []
  450. shortcut: ew
  451. disabled: true
  452. about:
  453. website: https://www.erowid.org/
  454. wikidata_id: Q1430691
  455. official_api_documentation:
  456. use_official_api: false
  457. require_api_key: false
  458. results: HTML
  459. # - name: elasticsearch
  460. # shortcut: es
  461. # engine: elasticsearch
  462. # base_url: http://localhost:9200
  463. # username: elastic
  464. # password: changeme
  465. # index: my-index
  466. # # available options: match, simple_query_string, term, terms, custom
  467. # query_type: match
  468. # # if query_type is set to custom, provide your query here
  469. # #custom_query_json: {"query":{"match_all": {}}}
  470. # #show_metadata: false
  471. # disabled: true
  472. - name: wikidata
  473. engine: wikidata
  474. shortcut: wd
  475. timeout: 3.0
  476. weight: 2
  477. tests: *tests_infobox
  478. - name: duckduckgo
  479. engine: duckduckgo
  480. shortcut: ddg
  481. - name: duckduckgo images
  482. engine: duckduckgo_images
  483. shortcut: ddi
  484. timeout: 3.0
  485. disabled: true
  486. - name: duckduckgo weather
  487. engine: duckduckgo_weather
  488. shortcut: ddw
  489. disabled: true
  490. - name: apple maps
  491. engine: apple_maps
  492. shortcut: apm
  493. disabled: true
  494. timeout: 5.0
  495. - name: emojipedia
  496. engine: emojipedia
  497. timeout: 4.0
  498. shortcut: em
  499. disabled: true
  500. - name: tineye
  501. engine: tineye
  502. shortcut: tin
  503. timeout: 9.0
  504. - name: etymonline
  505. engine: xpath
  506. paging: true
  507. search_url: https://etymonline.com/search?page={pageno}&q={query}
  508. url_xpath: //a[contains(@class, "word__name--")]/@href
  509. title_xpath: //a[contains(@class, "word__name--")]
  510. content_xpath: //section[contains(@class, "word__defination")]
  511. first_page_num: 1
  512. shortcut: et
  513. categories: [dictionaries]
  514. disabled: false
  515. about:
  516. website: https://www.etymonline.com/
  517. wikidata_id: Q1188617
  518. official_api_documentation:
  519. use_official_api: false
  520. require_api_key: false
  521. results: HTML
  522. # - name: ebay
  523. # engine: ebay
  524. # shortcut: eb
  525. # base_url: 'https://www.ebay.com'
  526. # disabled: true
  527. # timeout: 5
  528. - name: 1x
  529. engine: www1x
  530. shortcut: 1x
  531. timeout: 3.0
  532. disabled: true
  533. - name: fdroid
  534. engine: fdroid
  535. shortcut: fd
  536. disabled: true
  537. - name: flickr
  538. categories: images
  539. shortcut: fl
  540. # You can use the engine using the official stable API, but you need an API
  541. # key, see: https://www.flickr.com/services/apps/create/
  542. # engine: flickr
  543. # api_key: 'apikey' # required!
  544. # Or you can use the html non-stable engine, activated by default
  545. engine: flickr_noapi
  546. - name: free software directory
  547. engine: mediawiki
  548. shortcut: fsd
  549. categories: [it, software wikis]
  550. base_url: https://directory.fsf.org/
  551. number_of_results: 5
  552. # what part of a page matches the query string: title, text, nearmatch
  553. # * title - query matches title
  554. # * text - query matches the text of page
  555. # * nearmatch - nearmatch in title
  556. search_type: title
  557. timeout: 5.0
  558. disabled: true
  559. about:
  560. website: https://directory.fsf.org/
  561. wikidata_id: Q2470288
  562. # - name: freesound
  563. # engine: freesound
  564. # shortcut: fnd
  565. # disabled: true
  566. # timeout: 15.0
  567. # API key required, see: https://freesound.org/docs/api/overview.html
  568. # api_key: MyAPIkey
  569. - name: frinkiac
  570. engine: frinkiac
  571. shortcut: frk
  572. disabled: true
  573. - name: genius
  574. engine: genius
  575. shortcut: gen
  576. - name: gigablast
  577. engine: gigablast
  578. shortcut: gb
  579. timeout: 4.0
  580. disabled: true
  581. additional_tests:
  582. rosebud: *test_rosebud
  583. - name: gentoo
  584. engine: gentoo
  585. shortcut: ge
  586. - name: gitlab
  587. engine: json_engine
  588. paging: true
  589. search_url: https://gitlab.com/api/v4/projects?search={query}&page={pageno}
  590. url_query: web_url
  591. title_query: name_with_namespace
  592. content_query: description
  593. page_size: 20
  594. categories: [it, repos]
  595. shortcut: gl
  596. timeout: 10.0
  597. disabled: true
  598. about:
  599. website: https://about.gitlab.com/
  600. wikidata_id: Q16639197
  601. official_api_documentation: https://docs.gitlab.com/ee/api/
  602. use_official_api: false
  603. require_api_key: false
  604. results: JSON
  605. - name: github
  606. engine: github
  607. shortcut: gh
  608. # This a Gitea service. If you would like to use a different instance,
  609. # change codeberg.org to URL of the desired Gitea host. Or you can create a
  610. # new engine by copying this and changing the name, shortcut and search_url.
  611. - name: codeberg
  612. engine: json_engine
  613. search_url: https://codeberg.org/api/v1/repos/search?q={query}&limit=10
  614. url_query: html_url
  615. title_query: name
  616. content_query: description
  617. categories: [it, repos]
  618. shortcut: cb
  619. disabled: true
  620. about:
  621. website: https://codeberg.org/
  622. wikidata_id:
  623. official_api_documentation: https://try.gitea.io/api/swagger
  624. use_official_api: false
  625. require_api_key: false
  626. results: JSON
  627. - name: google
  628. engine: google
  629. shortcut: go
  630. # see https://docs.searxng.org/src/searx.engines.google.html#module-searx.engines.google
  631. use_mobile_ui: false
  632. # additional_tests:
  633. # android: *test_android
  634. # - name: google italian
  635. # engine: google
  636. # shortcut: goit
  637. # use_mobile_ui: false
  638. # language: it
  639. # - name: google mobile ui
  640. # engine: google
  641. # shortcut: gomui
  642. # use_mobile_ui: true
  643. - name: google images
  644. engine: google_images
  645. shortcut: goi
  646. # additional_tests:
  647. # android: *test_android
  648. # dali:
  649. # matrix:
  650. # query: ['Dali Christ']
  651. # lang: ['en', 'de', 'fr', 'zh-CN']
  652. # result_container:
  653. # - ['one_title_contains', 'Salvador']
  654. - name: google news
  655. engine: google_news
  656. shortcut: gon
  657. # additional_tests:
  658. # android: *test_android
  659. - name: google videos
  660. engine: google_videos
  661. shortcut: gov
  662. # additional_tests:
  663. # android: *test_android
  664. - name: google scholar
  665. engine: google_scholar
  666. shortcut: gos
  667. - name: google play apps
  668. engine: google_play_apps
  669. shortcut: gpa
  670. disabled: true
  671. - name: google play movies
  672. engine: xpath
  673. send_accept_language_header: true
  674. search_url: https://play.google.com/store/search?q={query}&c=movies
  675. results_xpath: '//div[@class="ImZGtf mpg5gc"]'
  676. title_xpath: './/div[@class="RZEgze"]//div[@class="kCSSQe"]//a'
  677. url_xpath: './/div[@class="RZEgze"]//div[@class="kCSSQe"]//a/@href'
  678. content_xpath: './/div[@class="kCSSQe"]'
  679. thumbnail_xpath: './/div[@class="uzcko"]/div/span[1]//img/@data-src'
  680. categories: videos
  681. shortcut: gpm
  682. disabled: true
  683. about:
  684. website: https://play.google.com/
  685. wikidata_id: Q79576
  686. official_api_documentation:
  687. use_official_api: false
  688. require_api_key: false
  689. results: HTML
  690. - name: gpodder
  691. engine: json_engine
  692. shortcut: gpod
  693. timeout: 4.0
  694. paging: false
  695. search_url: https://gpodder.net/search.json?q={query}
  696. url_query: url
  697. title_query: title
  698. content_query: description
  699. page_size: 19
  700. categories: music
  701. disabled: true
  702. about:
  703. website: https://gpodder.net
  704. wikidata_id: Q3093354
  705. official_api_documentation: https://gpoddernet.readthedocs.io/en/latest/api/
  706. use_official_api: false
  707. requires_api_key: false
  708. results: JSON
  709. - name: habrahabr
  710. engine: xpath
  711. paging: true
  712. search_url: https://habrahabr.ru/search/page{pageno}/?q={query}
  713. url_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
  714. title_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]
  715. content_xpath: //article[contains(@class, "post")]//div[contains(@class, "post__text")]
  716. categories: it
  717. timeout: 4.0
  718. disabled: true
  719. shortcut: habr
  720. about:
  721. website: https://habr.com/
  722. wikidata_id: Q4494434
  723. official_api_documentation: https://habr.com/en/docs/help/api/
  724. use_official_api: false
  725. require_api_key: false
  726. results: HTML
  727. - name: hoogle
  728. engine: xpath
  729. paging: true
  730. search_url: https://hoogle.haskell.org/?hoogle={query}&start={pageno}
  731. results_xpath: '//div[@class="result"]'
  732. title_xpath: './/div[@class="ans"]//a'
  733. url_xpath: './/div[@class="ans"]//a/@href'
  734. content_xpath: './/div[@class="from"]'
  735. page_size: 20
  736. categories: [it, packages]
  737. shortcut: ho
  738. about:
  739. website: https://hoogle.haskell.org/
  740. wikidata_id: Q34010
  741. official_api_documentation: https://hackage.haskell.org/api
  742. use_official_api: false
  743. require_api_key: false
  744. results: JSON
  745. - name: imdb
  746. engine: imdb
  747. shortcut: imdb
  748. timeout: 6.0
  749. disabled: true
  750. - name: ina
  751. engine: ina
  752. shortcut: in
  753. timeout: 6.0
  754. disabled: true
  755. - name: invidious
  756. engine: invidious
  757. # Instanes will be selected randomly, see https://api.invidious.io/ for
  758. # instances that are stable (good uptime) and close to you.
  759. base_url:
  760. - https://invidious.snopyta.org
  761. - https://vid.puffyan.us
  762. # - https://invidious.kavin.rocks # Error 1020 // Access denied by Cloudflare
  763. - https://invidio.xamh.de
  764. - https://inv.riverside.rocks
  765. shortcut: iv
  766. timeout: 3.0
  767. disabled: true
  768. - name: jisho
  769. engine: jisho
  770. shortcut: js
  771. timeout: 3.0
  772. disabled: true
  773. - name: kickass
  774. engine: kickass
  775. shortcut: kc
  776. timeout: 4.0
  777. disabled: true
  778. - name: library genesis
  779. engine: xpath
  780. search_url: https://libgen.fun/search.php?req={query}
  781. url_xpath: //a[contains(@href,"get.php?md5")]/@href
  782. title_xpath: //a[contains(@href,"book/")]/text()[1]
  783. content_xpath: //td/a[1][contains(@href,"=author")]/text()
  784. categories: files
  785. timeout: 7.0
  786. disabled: true
  787. shortcut: lg
  788. about:
  789. website: https://libgen.fun/
  790. wikidata_id: Q22017206
  791. official_api_documentation:
  792. use_official_api: false
  793. require_api_key: false
  794. results: HTML
  795. - name: z-library
  796. engine: zlibrary
  797. shortcut: zlib
  798. categories: files
  799. timeout: 3.0
  800. # choose base_url, otherwise engine will do it at initialization time
  801. # base_url: https://b-ok.cc
  802. # base_url: https://de1lib.org
  803. # base_url: https://booksc.eu # does not have cover preview
  804. # base_url: https://booksc.org # does not have cover preview
  805. - name: library of congress
  806. engine: loc
  807. shortcut: loc
  808. categories: images
  809. - name: lingva
  810. engine: lingva
  811. shortcut: lv
  812. # set lingva instance in url, by default it will use the official instance
  813. # url: https://lingva.ml
  814. - name: lobste.rs
  815. engine: xpath
  816. search_url: https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
  817. results_xpath: //li[contains(@class, "story")]
  818. url_xpath: .//a[@class="u-url"]/@href
  819. title_xpath: .//a[@class="u-url"]
  820. content_xpath: .//a[@class="domain"]
  821. categories: it
  822. shortcut: lo
  823. timeout: 5.0
  824. disabled: true
  825. about:
  826. website: https://lobste.rs/
  827. wikidata_id: Q60762874
  828. official_api_documentation:
  829. use_official_api: false
  830. require_api_key: false
  831. results: HTML
  832. - name: azlyrics
  833. shortcut: lyrics
  834. engine: xpath
  835. timeout: 4.0
  836. disabled: true
  837. categories: [music, lyrics]
  838. paging: true
  839. search_url: https://search.azlyrics.com/search.php?q={query}&w=lyrics&p={pageno}
  840. url_xpath: //td[@class="text-left visitedlyr"]/a/@href
  841. title_xpath: //span/b/text()
  842. content_xpath: //td[@class="text-left visitedlyr"]/a/small
  843. about:
  844. website: https://azlyrics.com
  845. wikidata_id: Q66372542
  846. official_api_documentation:
  847. use_official_api: false
  848. require_api_key: false
  849. results: HTML
  850. # - name: meilisearch
  851. # engine: meilisearch
  852. # shortcut: mes
  853. # enable_http: true
  854. # base_url: http://localhost:7700
  855. # index: my-index
  856. - name: mixcloud
  857. engine: mixcloud
  858. shortcut: mc
  859. # MongoDB engine
  860. # Required dependency: pymongo
  861. # - name: mymongo
  862. # engine: mongodb
  863. # shortcut: md
  864. # exact_match_only: false
  865. # host: '127.0.0.1'
  866. # port: 27017
  867. # enable_http: true
  868. # results_per_page: 20
  869. # database: 'business'
  870. # collection: 'reviews' # name of the db collection
  871. # key: 'name' # key in the collection to search for
  872. - name: neeva
  873. engine: xpath
  874. shortcut: nv
  875. time_range_support: true
  876. time_range_url: '&alf%5Bfreshness%5D={time_range_val}'
  877. time_range_map:
  878. day: 'Day'
  879. week: 'Week'
  880. month: 'Month'
  881. year: 'Year'
  882. search_url: https://neeva.com/search?q={query}&c=All&src=Pagination&page={pageno}{time_range}
  883. results_xpath: //div[@class="web-index__component-2rKiM"] | //li[@class="web-rich-deep-links__deepLink-SIbD4"]
  884. url_xpath: .//a[@class="lib-doc-title__link-1b9rC"]/@href | ./h2/a/@href
  885. title_xpath: .//a[@class="lib-doc-title__link-1b9rC"] | ./h2/a
  886. content_xpath: >
  887. .//div[@class="lib-doc-snippet__component-3ewW6"]/text() |
  888. .//div[@class="lib-doc-snippet__component-3ewW6"]/*[not(self::a)] |
  889. ./p
  890. content_html_to_text: true
  891. suggestion_xpath: //span[@class="result-related-searches__link-2ho_u"]
  892. paging: true
  893. disabled: true
  894. categories: [general, web]
  895. timeout: 5.0
  896. soft_max_redirects: 2
  897. about:
  898. website: https://neeva.com
  899. official_api_documentation:
  900. use_official_api: false
  901. require_api_key: false
  902. results: HTML
  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. search_url: https://wiby.me/json/?q={query}
  1337. url_query: URL
  1338. title_query: Title
  1339. content_query: Snippet
  1340. categories: [general, web]
  1341. shortcut: wib
  1342. disabled: true
  1343. about:
  1344. website: https://wiby.me/
  1345. - name: marginalia
  1346. engine: json_engine
  1347. shortcut: mar
  1348. categories: general
  1349. paging: false
  1350. # index: {"0": "popular", "1": "blogs", "2": "big_sites",
  1351. # "3": "default", "4": experimental"}
  1352. search_url: https://api.marginalia.nu/public/search/{query}?index=4&count=20
  1353. results_query: results
  1354. url_query: url
  1355. title_query: title
  1356. content_query: description
  1357. timeout: 1.5
  1358. disabled: true
  1359. about:
  1360. website: https://www.marginalia.nu/
  1361. official_api_documentation: https://api.marginalia.nu/
  1362. use_official_api: true
  1363. require_api_key: true
  1364. results: JSON
  1365. - name: alexandria
  1366. engine: json_engine
  1367. shortcut: alx
  1368. categories: general
  1369. paging: true
  1370. search_url: https://api.alexandria.org/?a=1&q={query}&p={pageno}
  1371. results_query: results
  1372. title_query: title
  1373. url_query: url
  1374. content_query: snippet
  1375. timeout: 1.5
  1376. disabled: true
  1377. about:
  1378. website: https://alexandria.org/
  1379. official_api_documentation: https://github.com/alexandria-org/alexandria-api/raw/master/README.md
  1380. use_official_api: true
  1381. require_api_key: false
  1382. results: JSON
  1383. - name: wikibooks
  1384. engine: mediawiki
  1385. shortcut: wb
  1386. categories: general
  1387. base_url: "https://{language}.wikibooks.org/"
  1388. number_of_results: 5
  1389. search_type: text
  1390. disabled: true
  1391. about:
  1392. website: https://www.wikibooks.org/
  1393. wikidata_id: Q367
  1394. - name: wikinews
  1395. engine: mediawiki
  1396. shortcut: wn
  1397. categories: news
  1398. base_url: "https://{language}.wikinews.org/"
  1399. number_of_results: 5
  1400. search_type: text
  1401. disabled: true
  1402. about:
  1403. website: https://www.wikinews.org/
  1404. wikidata_id: Q964
  1405. - name: wikiquote
  1406. engine: mediawiki
  1407. shortcut: wq
  1408. categories: general
  1409. base_url: "https://{language}.wikiquote.org/"
  1410. number_of_results: 5
  1411. search_type: text
  1412. disabled: true
  1413. additional_tests:
  1414. rosebud: *test_rosebud
  1415. about:
  1416. website: https://www.wikiquote.org/
  1417. wikidata_id: Q369
  1418. - name: wikisource
  1419. engine: mediawiki
  1420. shortcut: ws
  1421. categories: general
  1422. base_url: "https://{language}.wikisource.org/"
  1423. number_of_results: 5
  1424. search_type: text
  1425. disabled: true
  1426. about:
  1427. website: https://www.wikisource.org/
  1428. wikidata_id: Q263
  1429. - name: wiktionary
  1430. engine: mediawiki
  1431. shortcut: wt
  1432. categories: [dictionaries]
  1433. base_url: "https://{language}.wiktionary.org/"
  1434. number_of_results: 5
  1435. search_type: text
  1436. disabled: false
  1437. about:
  1438. website: https://www.wiktionary.org/
  1439. wikidata_id: Q151
  1440. - name: wikiversity
  1441. engine: mediawiki
  1442. shortcut: wv
  1443. categories: general
  1444. base_url: "https://{language}.wikiversity.org/"
  1445. number_of_results: 5
  1446. search_type: text
  1447. disabled: true
  1448. about:
  1449. website: https://www.wikiversity.org/
  1450. wikidata_id: Q370
  1451. - name: wikivoyage
  1452. engine: mediawiki
  1453. shortcut: wy
  1454. categories: general
  1455. base_url: "https://{language}.wikivoyage.org/"
  1456. number_of_results: 5
  1457. search_type: text
  1458. disabled: true
  1459. about:
  1460. website: https://www.wikivoyage.org/
  1461. wikidata_id: Q373
  1462. - name: wolframalpha
  1463. shortcut: wa
  1464. # You can use the engine using the official stable API, but you need an API
  1465. # key. See: https://products.wolframalpha.com/api/
  1466. #
  1467. # engine: wolframalpha_api
  1468. # api_key: ''
  1469. #
  1470. # Or you can use the html non-stable engine, activated by default
  1471. engine: wolframalpha_noapi
  1472. timeout: 6.0
  1473. categories: []
  1474. - name: dictzone
  1475. engine: dictzone
  1476. shortcut: dc
  1477. - name: mymemory translated
  1478. engine: translated
  1479. shortcut: tl
  1480. timeout: 5.0
  1481. disabled: false
  1482. # You can use without an API key, but you are limited to 1000 words/day
  1483. # See: https://mymemory.translated.net/doc/usagelimits.php
  1484. # api_key: ''
  1485. # Required dependency: mysql-connector-python
  1486. # - name: mysql
  1487. # engine: mysql_server
  1488. # database: mydatabase
  1489. # username: user
  1490. # password: pass
  1491. # limit: 10
  1492. # query_str: 'SELECT * from mytable WHERE fieldname=%(query)s'
  1493. # shortcut: mysql
  1494. - name: 1337x
  1495. engine: 1337x
  1496. shortcut: 1337x
  1497. disabled: true
  1498. - name: duden
  1499. engine: duden
  1500. shortcut: du
  1501. disabled: true
  1502. - name: seznam
  1503. shortcut: szn
  1504. engine: seznam
  1505. disabled: true
  1506. # - name: deepl
  1507. # engine: deepl
  1508. # shortcut: dpl
  1509. # # You can use the engine using the official stable API, but you need an API key
  1510. # # See: https://www.deepl.com/pro-api?cta=header-pro-api
  1511. # api_key: '' # required!
  1512. # timeout: 5.0
  1513. # disabled: true
  1514. - name: mojeek
  1515. shortcut: mjk
  1516. engine: xpath
  1517. paging: true
  1518. categories: [general, web]
  1519. search_url: https://www.mojeek.com/search?q={query}&s={pageno}
  1520. results_xpath: //a[@class="ob"]
  1521. url_xpath: ./@href
  1522. title_xpath: ./h2
  1523. content_xpath: ../p[@class="s"]
  1524. suggestion_xpath: /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
  1525. first_page_num: 0
  1526. page_size: 10
  1527. disabled: true
  1528. about:
  1529. website: https://www.mojeek.com/
  1530. wikidata_id: Q60747299
  1531. official_api_documentation: https://www.mojeek.com/services/api.html/
  1532. use_official_api: false
  1533. require_api_key: false
  1534. results: HTML
  1535. - name: naver
  1536. shortcut: nvr
  1537. categories: [general, web]
  1538. engine: xpath
  1539. paging: true
  1540. search_url: https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno}
  1541. url_xpath: //a[@class="link_tit"]/@href
  1542. title_xpath: //a[@class="link_tit"]
  1543. content_xpath: //a[@class="total_dsc"]/div
  1544. first_page_num: 1
  1545. page_size: 10
  1546. disabled: true
  1547. about:
  1548. website: https://www.naver.com/
  1549. wikidata_id: Q485639
  1550. official_api_documentation: https://developers.naver.com/docs/nmt/examples/
  1551. use_official_api: false
  1552. require_api_key: false
  1553. results: HTML
  1554. language: ko
  1555. - name: rubygems
  1556. shortcut: rbg
  1557. engine: xpath
  1558. paging: true
  1559. search_url: https://rubygems.org/search?page={pageno}&query={query}
  1560. results_xpath: /html/body/main/div/a[@class="gems__gem"]
  1561. url_xpath: ./@href
  1562. title_xpath: ./span/h2
  1563. content_xpath: ./span/p
  1564. suggestion_xpath: /html/body/main/div/div[@class="search__suggestions"]/p/a
  1565. first_page_num: 1
  1566. categories: [it, packages]
  1567. disabled: true
  1568. about:
  1569. website: https://rubygems.org/
  1570. wikidata_id: Q1853420
  1571. official_api_documentation: https://guides.rubygems.org/rubygems-org-api/
  1572. use_official_api: false
  1573. require_api_key: false
  1574. results: HTML
  1575. - name: peertube
  1576. engine: peertube
  1577. shortcut: ptb
  1578. paging: true
  1579. # https://instances.joinpeertube.org/instances
  1580. base_url: https://peertube.biz/
  1581. # base_url: https://tube.tardis.world/
  1582. categories: videos
  1583. disabled: true
  1584. timeout: 6.0
  1585. - name: mediathekviewweb
  1586. engine: mediathekviewweb
  1587. shortcut: mvw
  1588. disabled: true
  1589. # - name: yacy
  1590. # engine: yacy
  1591. # shortcut: ya
  1592. # base_url: http://localhost:8090
  1593. # required if you aren't using HTTPS for your local yacy instance'
  1594. # enable_http: true
  1595. # number_of_results: 5
  1596. # timeout: 3.0
  1597. - name: rumble
  1598. engine: rumble
  1599. shortcut: ru
  1600. base_url: https://rumble.com/
  1601. paging: true
  1602. categories: videos
  1603. disabled: true
  1604. - name: wordnik
  1605. engine: wordnik
  1606. shortcut: def
  1607. base_url: https://www.wordnik.com/
  1608. categories: [dictionaries]
  1609. timeout: 5.0
  1610. disabled: false
  1611. - name: woxikon.de synonyme
  1612. engine: xpath
  1613. shortcut: woxi
  1614. categories: [dictionaries]
  1615. timeout: 5.0
  1616. disabled: true
  1617. search_url: https://synonyme.woxikon.de/synonyme/{query}.php
  1618. url_xpath: //div[@class="upper-synonyms"]/a/@href
  1619. content_xpath: //div[@class="synonyms-list-group"]
  1620. title_xpath: //div[@class="upper-synonyms"]/a
  1621. no_result_for_http_status: [404]
  1622. about:
  1623. website: https://www.woxikon.de/
  1624. wikidata_id: # No Wikidata ID
  1625. use_official_api: false
  1626. require_api_key: false
  1627. results: HTML
  1628. language: de
  1629. - name: sjp.pwn
  1630. engine: sjp
  1631. shortcut: sjp
  1632. base_url: https://sjp.pwn.pl/
  1633. timeout: 5.0
  1634. disabled: true
  1635. # wikimini: online encyclopedia for children
  1636. # The fulltext and title parameter is necessary for Wikimini because
  1637. # sometimes it will not show the results and redirect instead
  1638. - name: wikimini
  1639. engine: xpath
  1640. shortcut: wkmn
  1641. search_url: https://fr.wikimini.org/w/index.php?search={query}&title=Sp%C3%A9cial%3ASearch&fulltext=Search
  1642. url_xpath: //li/div[@class="mw-search-result-heading"]/a/@href
  1643. title_xpath: //li//div[@class="mw-search-result-heading"]/a
  1644. content_xpath: //li/div[@class="searchresult"]
  1645. categories: general
  1646. disabled: true
  1647. about:
  1648. website: https://wikimini.org/
  1649. wikidata_id: Q3568032
  1650. use_official_api: false
  1651. require_api_key: false
  1652. results: HTML
  1653. language: fr
  1654. - name: wttr.in
  1655. engine: wttr
  1656. shortcut: wttr
  1657. timeout: 9.0
  1658. - name: brave
  1659. shortcut: brave
  1660. engine: xpath
  1661. paging: true
  1662. time_range_support: true
  1663. first_page_num: 0
  1664. time_range_url: "&tf={time_range_val}"
  1665. search_url: https://search.brave.com/search?q={query}&offset={pageno}&spellcheck=1{time_range}
  1666. url_xpath: //a[@class="result-header"]/@href
  1667. title_xpath: //span[@class="snippet-title"]
  1668. content_xpath: //p[1][@class="snippet-description"]
  1669. suggestion_xpath: //div[@class="text-gray h6"]/a
  1670. time_range_map:
  1671. day: 'pd'
  1672. week: 'pw'
  1673. month: 'pm'
  1674. year: 'py'
  1675. categories: [general, web]
  1676. disabled: true
  1677. headers:
  1678. Accept-Encoding: gzip, deflate
  1679. about:
  1680. website: https://brave.com/search/
  1681. wikidata_id: Q107355971
  1682. use_official_api: false
  1683. require_api_key: false
  1684. results: HTML
  1685. - name: petalsearch
  1686. shortcut: pts
  1687. engine: xpath
  1688. paging: true
  1689. search_url: https://petalsearch.com/search?query={query}&pn={pageno}
  1690. results_xpath: //div[@class="webpage-content"]/div[@class="title-cont"]/a
  1691. url_xpath: ./@href
  1692. title_xpath: .
  1693. content_xpath: ../../div[@class="webpage-text"]
  1694. suggestion_xpath: //div[@class="related-search-items"]/a
  1695. first_page_num: 1
  1696. disabled: true
  1697. about:
  1698. website: https://petalsearch.com/
  1699. wikidata_id: Q104399280
  1700. use_official_api: false
  1701. require_api_key: false
  1702. results: HTML
  1703. - name: petalsearch images
  1704. engine: petal_images
  1705. shortcut: ptsi
  1706. disabled: true
  1707. timeout: 3.0
  1708. - name: petalsearch news
  1709. shortcut: ptsn
  1710. categories: news
  1711. engine: xpath
  1712. paging: true
  1713. search_url: https://petalsearch.com/search?channel=news&query={query}&pn={pageno}
  1714. results_xpath: //div[@class="news-container"]/div/div/div/a
  1715. url_xpath: ./@href
  1716. title_xpath: ./div
  1717. content_xpath: ../div[@class="news-text"]
  1718. thumbnail_xpath: ../../../../img/@src
  1719. first_page_num: 1
  1720. disabled: true
  1721. about:
  1722. website: https://petalsearch.com/
  1723. wikidata_id: Q104399280
  1724. use_official_api: false
  1725. require_api_key: false
  1726. results: HTML
  1727. - name: lib.rs
  1728. shortcut: lrs
  1729. engine: xpath
  1730. search_url: https://lib.rs/search?q={query}
  1731. results_xpath: /html/body/main/div/ol/li/a
  1732. url_xpath: ./@href
  1733. title_xpath: ./div[@class="h"]/h4
  1734. content_xpath: ./div[@class="h"]/p
  1735. categories: [it, packages]
  1736. disabled: true
  1737. about:
  1738. website: https://lib.rs
  1739. wikidata_id: Q113486010
  1740. use_official_api: false
  1741. require_api_key: false
  1742. results: HTML
  1743. - name: sourcehut
  1744. shortcut: srht
  1745. engine: xpath
  1746. paging: true
  1747. search_url: https://sr.ht/projects?page={pageno}&search={query}
  1748. results_xpath: (//div[@class="event-list"])[1]/div[@class="event"]
  1749. url_xpath: ./h4/a[2]/@href
  1750. title_xpath: ./h4/a[2]
  1751. content_xpath: ./p
  1752. first_page_num: 1
  1753. categories: [it, repos]
  1754. disabled: true
  1755. about:
  1756. website: https://sr.ht
  1757. wikidata_id: Q78514485
  1758. official_api_documentation: https://man.sr.ht/
  1759. use_official_api: false
  1760. require_api_key: false
  1761. results: HTML
  1762. # Doku engine lets you access to any Doku wiki instance:
  1763. # A public one or a privete/corporate one.
  1764. # - name: ubuntuwiki
  1765. # engine: doku
  1766. # shortcut: uw
  1767. # base_url: 'https://doc.ubuntu-fr.org'
  1768. # Be careful when enabling this engine if you are
  1769. # running a public instance. Do not expose any sensitive
  1770. # information. You can restrict access by configuring a list
  1771. # of access tokens under tokens.
  1772. # - name: git grep
  1773. # engine: command
  1774. # command: ['git', 'grep', '{{QUERY}}']
  1775. # shortcut: gg
  1776. # tokens: []
  1777. # disabled: true
  1778. # delimiter:
  1779. # chars: ':'
  1780. # keys: ['filepath', 'code']
  1781. # Be careful when enabling this engine if you are
  1782. # running a public instance. Do not expose any sensitive
  1783. # information. You can restrict access by configuring a list
  1784. # of access tokens under tokens.
  1785. # - name: locate
  1786. # engine: command
  1787. # command: ['locate', '{{QUERY}}']
  1788. # shortcut: loc
  1789. # tokens: []
  1790. # disabled: true
  1791. # delimiter:
  1792. # chars: ' '
  1793. # keys: ['line']
  1794. # Be careful when enabling this engine if you are
  1795. # running a public instance. Do not expose any sensitive
  1796. # information. You can restrict access by configuring a list
  1797. # of access tokens under tokens.
  1798. # - name: find
  1799. # engine: command
  1800. # command: ['find', '.', '-name', '{{QUERY}}']
  1801. # query_type: path
  1802. # shortcut: fnd
  1803. # tokens: []
  1804. # disabled: true
  1805. # delimiter:
  1806. # chars: ' '
  1807. # keys: ['line']
  1808. # Be careful when enabling this engine if you are
  1809. # running a public instance. Do not expose any sensitive
  1810. # information. You can restrict access by configuring a list
  1811. # of access tokens under tokens.
  1812. # - name: pattern search in files
  1813. # engine: command
  1814. # command: ['fgrep', '{{QUERY}}']
  1815. # shortcut: fgr
  1816. # tokens: []
  1817. # disabled: true
  1818. # delimiter:
  1819. # chars: ' '
  1820. # keys: ['line']
  1821. # Be careful when enabling this engine if you are
  1822. # running a public instance. Do not expose any sensitive
  1823. # information. You can restrict access by configuring a list
  1824. # of access tokens under tokens.
  1825. # - name: regex search in files
  1826. # engine: command
  1827. # command: ['grep', '{{QUERY}}']
  1828. # shortcut: gr
  1829. # tokens: []
  1830. # disabled: true
  1831. # delimiter:
  1832. # chars: ' '
  1833. # keys: ['line']
  1834. doi_resolvers:
  1835. oadoi.org: 'https://oadoi.org/'
  1836. doi.org: 'https://doi.org/'
  1837. doai.io: 'https://dissem.in/'
  1838. sci-hub.se: 'https://sci-hub.se/'
  1839. sci-hub.st: 'https://sci-hub.st/'
  1840. sci-hub.ru: 'https://sci-hub.ru/'
  1841. default_doi_resolver: 'oadoi.org'