settings.yml 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034
  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. disabled: true
  1675. about:
  1676. website: https://brave.com/search/
  1677. wikidata_id: Q107355971
  1678. use_official_api: false
  1679. require_api_key: false
  1680. results: HTML
  1681. - name: petalsearch
  1682. shortcut: pts
  1683. engine: xpath
  1684. paging: true
  1685. search_url: https://petalsearch.com/search?query={query}&pn={pageno}
  1686. results_xpath: //div[@class="webpage-content"]/div[@class="title-cont"]/a
  1687. url_xpath: ./@href
  1688. title_xpath: .
  1689. content_xpath: ../../div[@class="webpage-text"]
  1690. suggestion_xpath: //div[@class="related-search-items"]/a
  1691. first_page_num: 1
  1692. disabled: true
  1693. about:
  1694. website: https://petalsearch.com/
  1695. wikidata_id: Q104399280
  1696. use_official_api: false
  1697. require_api_key: false
  1698. results: HTML
  1699. - name: petalsearch images
  1700. engine: petal_images
  1701. shortcut: ptsi
  1702. disabled: true
  1703. timeout: 3.0
  1704. - name: petalsearch news
  1705. shortcut: ptsn
  1706. categories: news
  1707. engine: xpath
  1708. paging: true
  1709. search_url: https://petalsearch.com/search?channel=news&query={query}&pn={pageno}
  1710. results_xpath: //div[@class="news-container"]/div/div/div/a
  1711. url_xpath: ./@href
  1712. title_xpath: ./div
  1713. content_xpath: ../div[@class="news-text"]
  1714. thumbnail_xpath: ../../../../img/@src
  1715. first_page_num: 1
  1716. disabled: true
  1717. about:
  1718. website: https://petalsearch.com/
  1719. wikidata_id: Q104399280
  1720. use_official_api: false
  1721. require_api_key: false
  1722. results: HTML
  1723. - name: lib.rs
  1724. shortcut: lrs
  1725. engine: xpath
  1726. search_url: https://lib.rs/search?q={query}
  1727. results_xpath: /html/body/main/div/ol/li/a
  1728. url_xpath: ./@href
  1729. title_xpath: ./div[@class="h"]/h4
  1730. content_xpath: ./div[@class="h"]/p
  1731. categories: [it, packages]
  1732. disabled: true
  1733. about:
  1734. website: https://lib.rs
  1735. wikidata_id: Q113486010
  1736. use_official_api: false
  1737. require_api_key: false
  1738. results: HTML
  1739. - name: sourcehut
  1740. shortcut: srht
  1741. engine: xpath
  1742. paging: true
  1743. search_url: https://sr.ht/projects?page={pageno}&search={query}
  1744. results_xpath: (//div[@class="event-list"])[1]/div[@class="event"]
  1745. url_xpath: ./h4/a[2]/@href
  1746. title_xpath: ./h4/a[2]
  1747. content_xpath: ./p
  1748. first_page_num: 1
  1749. categories: [it, repos]
  1750. disabled: true
  1751. about:
  1752. website: https://sr.ht
  1753. wikidata_id: Q78514485
  1754. official_api_documentation: https://man.sr.ht/
  1755. use_official_api: false
  1756. require_api_key: false
  1757. results: HTML
  1758. # Doku engine lets you access to any Doku wiki instance:
  1759. # A public one or a privete/corporate one.
  1760. # - name: ubuntuwiki
  1761. # engine: doku
  1762. # shortcut: uw
  1763. # base_url: 'https://doc.ubuntu-fr.org'
  1764. # Be careful when enabling this engine if you are
  1765. # running a public instance. Do not expose any sensitive
  1766. # information. You can restrict access by configuring a list
  1767. # of access tokens under tokens.
  1768. # - name: git grep
  1769. # engine: command
  1770. # command: ['git', 'grep', '{{QUERY}}']
  1771. # shortcut: gg
  1772. # tokens: []
  1773. # disabled: true
  1774. # delimiter:
  1775. # chars: ':'
  1776. # keys: ['filepath', 'code']
  1777. # Be careful when enabling this engine if you are
  1778. # running a public instance. Do not expose any sensitive
  1779. # information. You can restrict access by configuring a list
  1780. # of access tokens under tokens.
  1781. # - name: locate
  1782. # engine: command
  1783. # command: ['locate', '{{QUERY}}']
  1784. # shortcut: loc
  1785. # tokens: []
  1786. # disabled: true
  1787. # delimiter:
  1788. # chars: ' '
  1789. # keys: ['line']
  1790. # Be careful when enabling this engine if you are
  1791. # running a public instance. Do not expose any sensitive
  1792. # information. You can restrict access by configuring a list
  1793. # of access tokens under tokens.
  1794. # - name: find
  1795. # engine: command
  1796. # command: ['find', '.', '-name', '{{QUERY}}']
  1797. # query_type: path
  1798. # shortcut: fnd
  1799. # tokens: []
  1800. # disabled: true
  1801. # delimiter:
  1802. # chars: ' '
  1803. # keys: ['line']
  1804. # Be careful when enabling this engine if you are
  1805. # running a public instance. Do not expose any sensitive
  1806. # information. You can restrict access by configuring a list
  1807. # of access tokens under tokens.
  1808. # - name: pattern search in files
  1809. # engine: command
  1810. # command: ['fgrep', '{{QUERY}}']
  1811. # shortcut: fgr
  1812. # tokens: []
  1813. # disabled: true
  1814. # delimiter:
  1815. # chars: ' '
  1816. # keys: ['line']
  1817. # Be careful when enabling this engine if you are
  1818. # running a public instance. Do not expose any sensitive
  1819. # information. You can restrict access by configuring a list
  1820. # of access tokens under tokens.
  1821. # - name: regex search in files
  1822. # engine: command
  1823. # command: ['grep', '{{QUERY}}']
  1824. # shortcut: gr
  1825. # tokens: []
  1826. # disabled: true
  1827. # delimiter:
  1828. # chars: ' '
  1829. # keys: ['line']
  1830. doi_resolvers:
  1831. oadoi.org: 'https://oadoi.org/'
  1832. doi.org: 'https://doi.org/'
  1833. doai.io: 'https://dissem.in/'
  1834. sci-hub.se: 'https://sci-hub.se/'
  1835. sci-hub.do: 'https://sci-hub.do/'
  1836. scihubtw.tw: 'https://scihubtw.tw/'
  1837. sci-hub.st: 'https://sci-hub.st/'
  1838. sci-hub.bar: 'https://sci-hub.bar/'
  1839. sci-hub.it.nf: 'https://sci-hub.it.nf/'
  1840. default_doi_resolver: 'oadoi.org'