settings.yml 54 KB

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