settings.yml 54 KB

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