settings.yml 54 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033
  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: mojeek
  1518. shortcut: mjk
  1519. engine: xpath
  1520. paging: true
  1521. categories: [general, web]
  1522. search_url: https://www.mojeek.com/search?q={query}&s={pageno}
  1523. results_xpath: //a[@class="ob"]
  1524. url_xpath: ./@href
  1525. title_xpath: ./h2
  1526. content_xpath: ../p[@class="s"]
  1527. suggestion_xpath: /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
  1528. first_page_num: 0
  1529. page_size: 10
  1530. disabled: true
  1531. about:
  1532. website: https://www.mojeek.com/
  1533. wikidata_id: Q60747299
  1534. official_api_documentation: https://www.mojeek.com/services/api.html/
  1535. use_official_api: false
  1536. require_api_key: false
  1537. results: HTML
  1538. - name: naver
  1539. shortcut: nvr
  1540. categories: [general, web]
  1541. engine: xpath
  1542. paging: true
  1543. search_url: https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno}
  1544. url_xpath: //a[@class="link_tit"]/@href
  1545. title_xpath: //a[@class="link_tit"]
  1546. content_xpath: //a[@class="total_dsc"]/div
  1547. first_page_num: 1
  1548. page_size: 10
  1549. disabled: true
  1550. about:
  1551. website: https://www.naver.com/
  1552. wikidata_id: Q485639
  1553. official_api_documentation: https://developers.naver.com/docs/nmt/examples/
  1554. use_official_api: false
  1555. require_api_key: false
  1556. results: HTML
  1557. language: ko
  1558. - name: rubygems
  1559. shortcut: rbg
  1560. engine: xpath
  1561. paging: true
  1562. search_url: https://rubygems.org/search?page={pageno}&query={query}
  1563. results_xpath: /html/body/main/div/a[@class="gems__gem"]
  1564. url_xpath: ./@href
  1565. title_xpath: ./span/h2
  1566. content_xpath: ./span/p
  1567. suggestion_xpath: /html/body/main/div/div[@class="search__suggestions"]/p/a
  1568. first_page_num: 1
  1569. categories: [it, packages]
  1570. disabled: true
  1571. about:
  1572. website: https://rubygems.org/
  1573. wikidata_id: Q1853420
  1574. official_api_documentation: https://guides.rubygems.org/rubygems-org-api/
  1575. use_official_api: false
  1576. require_api_key: false
  1577. results: HTML
  1578. - name: peertube
  1579. engine: peertube
  1580. shortcut: ptb
  1581. paging: true
  1582. # https://instances.joinpeertube.org/instances
  1583. base_url: https://peertube.biz/
  1584. # base_url: https://tube.tardis.world/
  1585. categories: videos
  1586. disabled: true
  1587. timeout: 6.0
  1588. - name: mediathekviewweb
  1589. engine: mediathekviewweb
  1590. shortcut: mvw
  1591. disabled: true
  1592. # - name: yacy
  1593. # engine: yacy
  1594. # shortcut: ya
  1595. # base_url: http://localhost:8090
  1596. # required if you aren't using HTTPS for your local yacy instance'
  1597. # enable_http: true
  1598. # number_of_results: 5
  1599. # timeout: 3.0
  1600. - name: rumble
  1601. engine: rumble
  1602. shortcut: ru
  1603. base_url: https://rumble.com/
  1604. paging: true
  1605. categories: videos
  1606. disabled: true
  1607. - name: wordnik
  1608. engine: wordnik
  1609. shortcut: def
  1610. base_url: https://www.wordnik.com/
  1611. categories: [dictionaries]
  1612. timeout: 5.0
  1613. disabled: false
  1614. - name: woxikon.de synonyme
  1615. engine: xpath
  1616. shortcut: woxi
  1617. categories: [dictionaries]
  1618. timeout: 5.0
  1619. disabled: true
  1620. search_url: https://synonyme.woxikon.de/synonyme/{query}.php
  1621. url_xpath: //div[@class="upper-synonyms"]/a/@href
  1622. content_xpath: //div[@class="synonyms-list-group"]
  1623. title_xpath: //div[@class="upper-synonyms"]/a
  1624. about:
  1625. website: https://www.woxikon.de/
  1626. wikidata_id: # No Wikidata ID
  1627. use_official_api: false
  1628. require_api_key: false
  1629. results: HTML
  1630. language: de
  1631. - name: sjp.pwn
  1632. engine: sjp
  1633. shortcut: sjp
  1634. base_url: https://sjp.pwn.pl/
  1635. timeout: 5.0
  1636. disabled: true
  1637. # wikimini: online encyclopedia for children
  1638. # The fulltext and title parameter is necessary for Wikimini because
  1639. # sometimes it will not show the results and redirect instead
  1640. - name: wikimini
  1641. engine: xpath
  1642. shortcut: wkmn
  1643. search_url: https://fr.wikimini.org/w/index.php?search={query}&title=Sp%C3%A9cial%3ASearch&fulltext=Search
  1644. url_xpath: //li/div[@class="mw-search-result-heading"]/a/@href
  1645. title_xpath: //li//div[@class="mw-search-result-heading"]/a
  1646. content_xpath: //li/div[@class="searchresult"]
  1647. categories: general
  1648. disabled: true
  1649. about:
  1650. website: https://wikimini.org/
  1651. wikidata_id: Q3568032
  1652. use_official_api: false
  1653. require_api_key: false
  1654. results: HTML
  1655. language: fr
  1656. - name: brave
  1657. shortcut: brave
  1658. engine: xpath
  1659. paging: true
  1660. time_range_support: true
  1661. first_page_num: 0
  1662. time_range_url: "&tf={time_range_val}"
  1663. search_url: https://search.brave.com/search?q={query}&offset={pageno}&spellcheck=1{time_range}
  1664. url_xpath: //a[@class="result-header"]/@href
  1665. title_xpath: //span[@class="snippet-title"]
  1666. content_xpath: //p[1][@class="snippet-description"]
  1667. suggestion_xpath: //div[@class="text-gray h6"]/a
  1668. time_range_map:
  1669. day: 'pd'
  1670. week: 'pw'
  1671. month: 'pm'
  1672. year: 'py'
  1673. categories: [general, web]
  1674. about:
  1675. website: https://brave.com/search/
  1676. wikidata_id: Q107355971
  1677. use_official_api: false
  1678. require_api_key: false
  1679. results: HTML
  1680. - name: petalsearch
  1681. shortcut: pts
  1682. engine: xpath
  1683. paging: true
  1684. search_url: https://petalsearch.com/search?query={query}&pn={pageno}
  1685. results_xpath: //div[@class="webpage-content"]/div[@class="title-cont"]/a
  1686. url_xpath: ./@href
  1687. title_xpath: .
  1688. content_xpath: ../../div[@class="webpage-text"]
  1689. suggestion_xpath: //div[@class="related-search-items"]/a
  1690. first_page_num: 1
  1691. disabled: true
  1692. about:
  1693. website: https://petalsearch.com/
  1694. wikidata_id: Q104399280
  1695. use_official_api: false
  1696. require_api_key: false
  1697. results: HTML
  1698. - name: petalsearch images
  1699. engine: petal_images
  1700. shortcut: ptsi
  1701. disabled: true
  1702. timeout: 3.0
  1703. - name: petalsearch news
  1704. shortcut: ptsn
  1705. categories: news
  1706. engine: xpath
  1707. paging: true
  1708. search_url: https://petalsearch.com/search?channel=news&query={query}&pn={pageno}
  1709. results_xpath: //div[@class="news-container"]/div/div/div/a
  1710. url_xpath: ./@href
  1711. title_xpath: ./div
  1712. content_xpath: ../div[@class="news-text"]
  1713. thumbnail_xpath: ../../../../img/@src
  1714. first_page_num: 1
  1715. disabled: true
  1716. about:
  1717. website: https://petalsearch.com/
  1718. wikidata_id: Q104399280
  1719. use_official_api: false
  1720. require_api_key: false
  1721. results: HTML
  1722. - name: lib.rs
  1723. shortcut: lrs
  1724. engine: xpath
  1725. search_url: https://lib.rs/search?q={query}
  1726. results_xpath: /html/body/main/div/ol/li/a
  1727. url_xpath: ./@href
  1728. title_xpath: ./div[@class="h"]/h4
  1729. content_xpath: ./div[@class="h"]/p
  1730. categories: [it, packages]
  1731. disabled: true
  1732. about:
  1733. website: https://lib.rs
  1734. wikidata_id: Q113486010
  1735. use_official_api: false
  1736. require_api_key: false
  1737. results: HTML
  1738. - name: sourcehut
  1739. shortcut: srht
  1740. engine: xpath
  1741. paging: true
  1742. search_url: https://sr.ht/projects?page={pageno}&search={query}
  1743. results_xpath: (//div[@class="event-list"])[1]/div[@class="event"]
  1744. url_xpath: ./h4/a[2]/@href
  1745. title_xpath: ./h4/a[2]
  1746. content_xpath: ./p
  1747. first_page_num: 1
  1748. categories: [it, repos]
  1749. disabled: true
  1750. about:
  1751. website: https://sr.ht
  1752. wikidata_id: Q78514485
  1753. official_api_documentation: https://man.sr.ht/
  1754. use_official_api: false
  1755. require_api_key: false
  1756. results: HTML
  1757. # Doku engine lets you access to any Doku wiki instance:
  1758. # A public one or a privete/corporate one.
  1759. # - name: ubuntuwiki
  1760. # engine: doku
  1761. # shortcut: uw
  1762. # base_url: 'https://doc.ubuntu-fr.org'
  1763. # Be careful when enabling this engine if you are
  1764. # running a public instance. Do not expose any sensitive
  1765. # information. You can restrict access by configuring a list
  1766. # of access tokens under tokens.
  1767. # - name: git grep
  1768. # engine: command
  1769. # command: ['git', 'grep', '{{QUERY}}']
  1770. # shortcut: gg
  1771. # tokens: []
  1772. # disabled: true
  1773. # delimiter:
  1774. # chars: ':'
  1775. # keys: ['filepath', 'code']
  1776. # Be careful when enabling this engine if you are
  1777. # running a public instance. Do not expose any sensitive
  1778. # information. You can restrict access by configuring a list
  1779. # of access tokens under tokens.
  1780. # - name: locate
  1781. # engine: command
  1782. # command: ['locate', '{{QUERY}}']
  1783. # shortcut: loc
  1784. # tokens: []
  1785. # disabled: true
  1786. # delimiter:
  1787. # chars: ' '
  1788. # keys: ['line']
  1789. # Be careful when enabling this engine if you are
  1790. # running a public instance. Do not expose any sensitive
  1791. # information. You can restrict access by configuring a list
  1792. # of access tokens under tokens.
  1793. # - name: find
  1794. # engine: command
  1795. # command: ['find', '.', '-name', '{{QUERY}}']
  1796. # query_type: path
  1797. # shortcut: fnd
  1798. # tokens: []
  1799. # disabled: true
  1800. # delimiter:
  1801. # chars: ' '
  1802. # keys: ['line']
  1803. # Be careful when enabling this engine if you are
  1804. # running a public instance. Do not expose any sensitive
  1805. # information. You can restrict access by configuring a list
  1806. # of access tokens under tokens.
  1807. # - name: pattern search in files
  1808. # engine: command
  1809. # command: ['fgrep', '{{QUERY}}']
  1810. # shortcut: fgr
  1811. # tokens: []
  1812. # disabled: true
  1813. # delimiter:
  1814. # chars: ' '
  1815. # keys: ['line']
  1816. # Be careful when enabling this engine if you are
  1817. # running a public instance. Do not expose any sensitive
  1818. # information. You can restrict access by configuring a list
  1819. # of access tokens under tokens.
  1820. # - name: regex search in files
  1821. # engine: command
  1822. # command: ['grep', '{{QUERY}}']
  1823. # shortcut: gr
  1824. # tokens: []
  1825. # disabled: true
  1826. # delimiter:
  1827. # chars: ' '
  1828. # keys: ['line']
  1829. doi_resolvers:
  1830. oadoi.org: 'https://oadoi.org/'
  1831. doi.org: 'https://doi.org/'
  1832. doai.io: 'https://dissem.in/'
  1833. sci-hub.se: 'https://sci-hub.se/'
  1834. sci-hub.do: 'https://sci-hub.do/'
  1835. scihubtw.tw: 'https://scihubtw.tw/'
  1836. sci-hub.st: 'https://sci-hub.st/'
  1837. sci-hub.bar: 'https://sci-hub.bar/'
  1838. sci-hub.it.nf: 'https://sci-hub.it.nf/'
  1839. default_doi_resolver: 'oadoi.org'