settings.yml 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413
  1. general:
  2. debug : False # Debug mode, only for development
  3. instance_name : "searx" # displayed name
  4. contact_url: False # mailto:contact@example.com
  5. brand:
  6. git_url: https://github.com/searx/searx
  7. git_branch: master
  8. issue_url: https://github.com/searx/searx/issues
  9. docs_url: https://searx.github.io/searx
  10. public_instances: https://searx.space
  11. wiki_url: https://github.com/searx/searx/wiki
  12. twitter_url: https://twitter.com/Searx_engine
  13. search:
  14. safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict
  15. autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off by default
  16. default_lang : "" # Default search language - leave blank to detect from browser information or use codes from 'languages.py'
  17. ban_time_on_fail : 5 # ban time in seconds after engine errors
  18. max_ban_time_on_fail : 120 # max ban time in seconds after engine errors
  19. server:
  20. port : 8888
  21. bind_address : "127.0.0.1" # address to listen on
  22. secret_key : "ultrasecretkey" # change this!
  23. base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
  24. image_proxy : False # Proxying image results through searx
  25. http_protocol_version : "1.0" # 1.0 and 1.1 are supported
  26. method: "POST" # POST queries are more secure as they don't show up in history but may cause problems when using Firefox containers
  27. default_http_headers:
  28. X-Content-Type-Options : nosniff
  29. X-XSS-Protection : 1; mode=block
  30. X-Download-Options : noopen
  31. X-Robots-Tag : noindex, nofollow
  32. Referrer-Policy : no-referrer
  33. ui:
  34. static_path : "" # Custom static path - leave it blank if you didn't change
  35. templates_path : "" # Custom templates path - leave it blank if you didn't change
  36. default_theme : oscar # ui theme
  37. default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
  38. theme_args :
  39. oscar_style : logicodev # default style of oscar
  40. # results_on_new_tab: False # Open result links in a new tab by default
  41. # categories_order :
  42. # - general
  43. # - files
  44. # - map
  45. # - it
  46. # - science
  47. # Lock arbitrary settings on the preferences page.
  48. # To find the ID of the user setting you want to lock, check
  49. # the ID of the form on the page "preferences".
  50. #preferences:
  51. # lock:
  52. # - language
  53. # - autocomplete
  54. # - method
  55. # searx supports result proxification using an external service: https://github.com/asciimoo/morty
  56. # uncomment below section if you have running morty proxy
  57. # the key is base64 encoded (keep the !!binary notation)
  58. # Note: since commit af77ec3, morty accepts a base64 encoded key.
  59. #result_proxy:
  60. # url : http://127.0.0.1:3000/
  61. # key : !!binary "your_morty_proxy_key"
  62. outgoing: # communication with search engines
  63. request_timeout : 2.0 # default timeout in seconds, can be override by engine
  64. # max_request_timeout: 10.0 # the maximum timeout in seconds
  65. useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
  66. pool_connections : 100 # Number of different hosts
  67. pool_maxsize : 10 # Number of simultaneous requests by host
  68. # uncomment below section if you want to use a proxy
  69. # see https://2.python-requests.org/en/latest/user/advanced/#proxies
  70. # SOCKS proxies are also supported: see https://2.python-requests.org/en/latest/user/advanced/#socks
  71. # proxies:
  72. # http:
  73. # - http://proxy1:8080
  74. # - http://proxy2:8080
  75. # https:
  76. # - http://proxy1:8080
  77. # - http://proxy2:8080
  78. # uncomment below section only if you have more than one network interface
  79. # which can be the source of outgoing search requests
  80. # source_ips:
  81. # - 1.1.1.1
  82. # - 1.1.1.2
  83. # External plugin configuration
  84. # See http://searx.github.io/searx/dev/plugins.html for more details
  85. #
  86. # plugins:
  87. # - plugin1
  88. # - plugin2
  89. # - ...
  90. # uncomment below section if you want to configure which plugin is enabled by default
  91. #
  92. # enabled_plugins:
  93. # - "HTTPS rewrite"
  94. # - ...
  95. checker:
  96. # disable checker when in debug mode
  97. off_when_debug: True
  98. # scheduling: interval or int
  99. # use "scheduling: False" to disable scheduling
  100. # to activate the scheduler:
  101. # * uncomment "scheduling" section
  102. # * add "cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1" to your uwsgi.ini
  103. # scheduling:
  104. # start_after: [300, 1800] # delay to start the first run of the checker
  105. # every: [86400, 90000] # how often the checker runs
  106. # additional tests: only for the YAML anchors (see the engines section)
  107. additional_tests:
  108. rosebud: &test_rosebud
  109. matrix:
  110. query: rosebud
  111. lang: en
  112. result_container:
  113. - not_empty
  114. - ['one_title_contains', 'citizen kane']
  115. test:
  116. - unique_results
  117. android: &test_android
  118. matrix:
  119. query: ['android']
  120. lang: ['en', 'de', 'fr', 'zh-CN']
  121. result_container:
  122. - not_empty
  123. - ['one_title_contains', 'google']
  124. test:
  125. - unique_results
  126. # tests: only for the YAML anchors (see the engines section)
  127. tests:
  128. infobox: &tests_infobox
  129. infobox:
  130. matrix:
  131. query: ["linux", "new york", "bbc"]
  132. result_container:
  133. - has_infobox
  134. engines:
  135. - name: apk mirror
  136. engine: apkmirror
  137. timeout: 4.0
  138. shortcut: apkm
  139. disabled: True
  140. # Requires Tor
  141. - name : ahmia
  142. engine : ahmia
  143. categories : onions
  144. shortcut : ah
  145. - name : arch linux wiki
  146. engine : archlinux
  147. shortcut : al
  148. - name : archive is
  149. engine : xpath
  150. search_url : https://archive.is/{query}
  151. url_xpath : (//div[@class="TEXT-BLOCK"]/a)/@href
  152. title_xpath : (//div[@class="TEXT-BLOCK"]/a)
  153. content_xpath : //div[@class="TEXT-BLOCK"]/ul/li
  154. categories : general
  155. timeout : 7.0
  156. disabled : True
  157. shortcut : ai
  158. about:
  159. website: https://archive.is/
  160. wikidata_id: Q13515725
  161. official_api_documentation: http://mementoweb.org/depot/native/archiveis/
  162. use_official_api: false
  163. require_api_key: false
  164. results: HTML
  165. - name : arxiv
  166. engine : arxiv
  167. shortcut : arx
  168. categories : science
  169. timeout : 4.0
  170. # tmp suspended: dh key too small
  171. # - name : base
  172. # engine : base
  173. # shortcut : bs
  174. - name : wikipedia
  175. engine : wikipedia
  176. shortcut : wp
  177. base_url : 'https://{language}.wikipedia.org/'
  178. - name : bing
  179. engine : bing
  180. shortcut : bi
  181. - name : bing images
  182. engine : bing_images
  183. shortcut : bii
  184. - name : bing news
  185. engine : bing_news
  186. shortcut : bin
  187. - name : bing videos
  188. engine : bing_videos
  189. shortcut : biv
  190. - name : bitbucket
  191. engine : xpath
  192. paging : True
  193. search_url : https://bitbucket.org/repo/all/{pageno}?name={query}
  194. url_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]/@href
  195. title_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]
  196. content_xpath : //article[@class="repo-summary"]/p
  197. categories : it
  198. timeout : 4.0
  199. disabled : True
  200. shortcut : bb
  201. about:
  202. website: https://bitbucket.org/
  203. wikidata_id: Q2493781
  204. official_api_documentation: https://developer.atlassian.com/bitbucket
  205. use_official_api: false
  206. require_api_key: false
  207. results: HTML
  208. - name : btdigg
  209. engine : btdigg
  210. shortcut : bt
  211. - name : ccc-tv
  212. engine : xpath
  213. paging : False
  214. search_url : https://media.ccc.de/search/?q={query}
  215. url_xpath : //div[@class="caption"]/h3/a/@href
  216. title_xpath : //div[@class="caption"]/h3/a/text()
  217. content_xpath : //div[@class="caption"]/h4/@title
  218. categories : videos
  219. disabled : True
  220. shortcut : c3tv
  221. about:
  222. website: https://media.ccc.de/
  223. wikidata_id: Q80729951
  224. official_api_documentation: https://github.com/voc/voctoweb
  225. use_official_api: false
  226. require_api_key: false
  227. results: HTML
  228. - name : ccengine
  229. engine : ccengine
  230. categories : images
  231. shortcut : cce
  232. - name : crossref
  233. engine : json_engine
  234. paging : True
  235. search_url : https://search.crossref.org/dois?q={query}&page={pageno}
  236. url_query : doi
  237. title_query : title
  238. content_query : fullCitation
  239. categories : science
  240. shortcut : cr
  241. about:
  242. website: https://www.crossref.org/
  243. wikidata_id: Q5188229
  244. official_api_documentation: https://github.com/CrossRef/rest-api-doc
  245. use_official_api: false
  246. require_api_key: false
  247. results: JSON
  248. - name : currency
  249. engine : currency_convert
  250. categories : general
  251. shortcut : cc
  252. - name : deezer
  253. engine : deezer
  254. shortcut : dz
  255. - name : deviantart
  256. engine : deviantart
  257. shortcut : da
  258. timeout : 3.0
  259. - name : ddg definitions
  260. engine : duckduckgo_definitions
  261. shortcut : ddd
  262. weight : 2
  263. disabled : True
  264. tests: *tests_infobox
  265. # cloudflare protected
  266. # - name : digbt
  267. # engine : digbt
  268. # shortcut : dbt
  269. # timeout : 6.0
  270. # disabled : True
  271. - name : digg
  272. engine : digg
  273. shortcut : dg
  274. - name : erowid
  275. engine : xpath
  276. paging : True
  277. first_page_num : 0
  278. page_size : 30
  279. search_url : https://www.erowid.org/search.php?q={query}&s={pageno}
  280. url_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
  281. title_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
  282. content_xpath : //dl[@class="results-list"]/dd[@class="result-details"]
  283. categories : general
  284. shortcut : ew
  285. disabled : True
  286. about:
  287. website: https://www.erowid.org/
  288. wikidata_id: Q1430691
  289. official_api_documentation:
  290. use_official_api: false
  291. require_api_key: false
  292. results: HTML
  293. # - name : elasticsearch
  294. # shortcut : es
  295. # engine : elasticsearch
  296. # base_url : http://localhost:9200
  297. # username : elastic
  298. # password : changeme
  299. # index : my-index
  300. # # available options: match, simple_query_string, term, terms, custom
  301. # query_type : match
  302. # # if query_type is set to custom, provide your query here
  303. # #custom_query_json: {"query":{"match_all": {}}}
  304. # #show_metadata: False
  305. # disabled : True
  306. - name : wikidata
  307. engine : wikidata
  308. shortcut : wd
  309. timeout : 3.0
  310. weight : 2
  311. tests: *tests_infobox
  312. - name : duckduckgo
  313. engine : duckduckgo
  314. shortcut : ddg
  315. disabled : True
  316. - name : duckduckgo images
  317. engine : duckduckgo_images
  318. shortcut : ddi
  319. timeout: 3.0
  320. disabled : True
  321. - name : etools
  322. engine : etools
  323. shortcut : eto
  324. disabled : True
  325. additional_tests:
  326. rosebud: *test_rosebud
  327. - name : etymonline
  328. engine : xpath
  329. paging : True
  330. search_url : https://etymonline.com/search?page={pageno}&q={query}
  331. url_xpath : //a[contains(@class, "word__name--")]/@href
  332. title_xpath : //a[contains(@class, "word__name--")]
  333. content_xpath : //section[contains(@class, "word__defination")]
  334. first_page_num : 1
  335. shortcut : et
  336. disabled : True
  337. about:
  338. website: https://www.etymonline.com/
  339. wikidata_id: Q1188617
  340. official_api_documentation:
  341. use_official_api: false
  342. require_api_key: false
  343. results: HTML
  344. # - name : ebay
  345. # engine : ebay
  346. # shortcut : eb
  347. # disabled : True
  348. # timeout: 5
  349. - name : 1x
  350. engine : www1x
  351. shortcut : 1x
  352. timeout : 3.0
  353. disabled : True
  354. - name : fdroid
  355. engine : fdroid
  356. shortcut : fd
  357. disabled : True
  358. - name : flickr
  359. categories : images
  360. shortcut : fl
  361. # You can use the engine using the official stable API, but you need an API key
  362. # See : https://www.flickr.com/services/apps/create/
  363. # engine : flickr
  364. # api_key: 'apikey' # required!
  365. # Or you can use the html non-stable engine, activated by default
  366. engine : flickr_noapi
  367. - name : free software directory
  368. engine : mediawiki
  369. shortcut : fsd
  370. categories : it
  371. base_url : https://directory.fsf.org/
  372. number_of_results : 5
  373. # what part of a page matches the query string: title, text, nearmatch
  374. # title - query matches title, text - query matches the text of page, nearmatch - nearmatch in title
  375. search_type : title
  376. timeout : 5.0
  377. disabled : True
  378. about:
  379. website: https://directory.fsf.org/
  380. wikidata_id: Q2470288
  381. - name : frinkiac
  382. engine : frinkiac
  383. shortcut : frk
  384. disabled : True
  385. - name : genius
  386. engine : genius
  387. shortcut : gen
  388. - name : gigablast
  389. engine : gigablast
  390. shortcut : gb
  391. timeout : 3.0
  392. disabled: True
  393. additional_tests:
  394. rosebud: *test_rosebud
  395. - name : gentoo
  396. engine : gentoo
  397. shortcut : ge
  398. - name : gitlab
  399. engine : json_engine
  400. paging : True
  401. search_url : https://gitlab.com/api/v4/projects?search={query}&page={pageno}
  402. url_query : web_url
  403. title_query : name_with_namespace
  404. content_query : description
  405. page_size : 20
  406. categories : it
  407. shortcut : gl
  408. timeout : 10.0
  409. disabled : True
  410. about:
  411. website: https://about.gitlab.com/
  412. wikidata_id: Q16639197
  413. official_api_documentation: https://docs.gitlab.com/ee/api/
  414. use_official_api: false
  415. require_api_key: false
  416. results: JSON
  417. - name : github
  418. engine : github
  419. shortcut : gh
  420. # This a Gitea service. If you would like to use a different instance,
  421. # change codeberg.org to URL of the desired Gitea host. Or you can create
  422. # a new engine by copying this and changing the name, shortcut and search_url.
  423. - name : codeberg
  424. engine : json_engine
  425. search_url : https://codeberg.org/api/v1/repos/search?q={query}&limit=10
  426. url_query : html_url
  427. title_query : name
  428. content_query : description
  429. categories : it
  430. shortcut : cb
  431. disabled : True
  432. about:
  433. website: https://codeberg.org/
  434. wikidata_id:
  435. official_api_documentation: https://try.gitea.io/api/swagger
  436. use_official_api: false
  437. require_api_key: false
  438. results: JSON
  439. - name : google
  440. engine : google
  441. shortcut : go
  442. # additional_tests:
  443. # android: *test_android
  444. - name : google images
  445. engine : google_images
  446. shortcut : goi
  447. # additional_tests:
  448. # android: *test_android
  449. # dali:
  450. # matrix:
  451. # query: ['Dali Christ']
  452. # lang: ['en', 'de', 'fr', 'zh-CN']
  453. # result_container:
  454. # - ['one_title_contains', 'Salvador']
  455. - name : google news
  456. engine : google_news
  457. shortcut : gon
  458. # additional_tests:
  459. # android: *test_android
  460. - name : google videos
  461. engine : google_videos
  462. shortcut : gov
  463. # additional_tests:
  464. # android: *test_android
  465. - name : google scholar
  466. engine : xpath
  467. paging : True
  468. search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
  469. results_xpath : //div[contains(@class, "gs_r")]/div[@class="gs_ri"]
  470. url_xpath : .//h3/a/@href
  471. title_xpath : .//h3/a
  472. content_xpath : .//div[@class="gs_rs"]
  473. suggestion_xpath : //div[@id="gs_res_ccl_top"]//a/b
  474. page_size : 10
  475. first_page_num : 0
  476. categories : science
  477. shortcut : gos
  478. about:
  479. website: https://scholar.google.com/
  480. wikidata_id: Q494817
  481. official_api_documentation:
  482. use_official_api: false
  483. require_api_key: false
  484. results: HTML
  485. - name : google play apps
  486. engine : xpath
  487. search_url : https://play.google.com/store/search?q={query}&c=apps
  488. results_xpath : '//div[@class="WHE7ib mpg5gc"]'
  489. title_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a'
  490. url_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a/@href'
  491. content_xpath : './/div[@class="RZEgze"]//a[@class="mnKHRc"]'
  492. thumbnail_xpath : './/div[@class="uzcko"]/div/span[1]//img/@data-src'
  493. categories : files
  494. shortcut : gpa
  495. disabled : True
  496. about:
  497. website: https://play.google.com/
  498. wikidata_id: Q79576
  499. official_api_documentation:
  500. use_official_api: false
  501. require_api_key: false
  502. results: HTML
  503. - name : google play movies
  504. engine : xpath
  505. search_url : https://play.google.com/store/search?q={query}&c=movies
  506. results_xpath : '//div[@class="WHE7ib mpg5gc"]'
  507. title_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a'
  508. url_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a/@href'
  509. content_xpath : './/div[@class="RZEgze"]//a[@class="mnKHRc"]'
  510. thumbnail_xpath : './/div[@class="uzcko"]/div/span[1]//img/@data-src'
  511. categories : videos
  512. shortcut : gpm
  513. disabled : True
  514. about:
  515. website: https://play.google.com/
  516. wikidata_id: Q79576
  517. official_api_documentation:
  518. use_official_api: false
  519. require_api_key: false
  520. results: HTML
  521. - name : google play music
  522. engine : xpath
  523. search_url : https://play.google.com/store/search?q={query}&c=music
  524. results_xpath : '//div[@class="WHE7ib mpg5gc"]'
  525. title_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a'
  526. url_xpath : './/div[@class="RZEgze"]//div[@title and not(@title="")]/a/@href'
  527. content_xpath : './/div[@class="RZEgze"]//a[@class="mnKHRc"]'
  528. thumbnail_xpath : './/div[@class="uzcko"]/div/span[1]//img/@data-src'
  529. categories : music
  530. shortcut : gps
  531. disabled : True
  532. about:
  533. website: https://play.google.com/
  534. wikidata_id: Q79576
  535. official_api_documentation:
  536. use_official_api: false
  537. require_api_key: false
  538. results: HTML
  539. - name : geektimes
  540. engine : xpath
  541. paging : True
  542. search_url : https://geektimes.ru/search/page{pageno}/?q={query}
  543. url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
  544. title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]
  545. content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")]
  546. categories : it
  547. timeout : 4.0
  548. disabled : True
  549. shortcut : gt
  550. about:
  551. website: https://geektimes.ru/
  552. wikidata_id: Q50572423
  553. official_api_documentation:
  554. use_official_api: false
  555. require_api_key: false
  556. results: HTML
  557. - name : habrahabr
  558. engine : xpath
  559. paging : True
  560. search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
  561. url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
  562. title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]
  563. content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")]
  564. categories : it
  565. timeout : 4.0
  566. disabled : True
  567. shortcut : habr
  568. about:
  569. website: https://habr.com/
  570. wikidata_id: Q4494434
  571. official_api_documentation: https://habr.com/en/docs/help/api/
  572. use_official_api: false
  573. require_api_key: false
  574. results: HTML
  575. - name : hoogle
  576. engine : json_engine
  577. paging : True
  578. search_url : https://www.haskell.org/hoogle/?mode=json&hoogle={query}&start={pageno}
  579. results_query : results
  580. url_query : location
  581. title_query : self
  582. content_query : docs
  583. page_size : 20
  584. categories : it
  585. shortcut : ho
  586. about:
  587. website: https://www.haskell.org/
  588. wikidata_id: Q34010
  589. official_api_documentation: https://hackage.haskell.org/api
  590. use_official_api: false
  591. require_api_key: false
  592. results: JSON
  593. - name : ina
  594. engine : ina
  595. shortcut : in
  596. timeout : 6.0
  597. disabled : True
  598. - name : invidious
  599. engine : invidious
  600. base_url :
  601. - https://invidious.tube/
  602. - https://invidious.snopyta.org/
  603. shortcut: iv
  604. timeout : 5.0
  605. disabled : True
  606. - name: kickass
  607. engine : kickass
  608. shortcut : kc
  609. timeout : 4.0
  610. disabled : True
  611. - name : library genesis
  612. engine : xpath
  613. search_url : http://libgen.rs/search.php?req={query}
  614. url_xpath : //a[contains(@href,"bookfi.net/md5")]/@href
  615. title_xpath : //a[contains(@href,"book/")]/text()[1]
  616. content_xpath : //td/a[1][contains(@href,"=author")]/text()
  617. categories : general
  618. timeout : 7.0
  619. disabled : True
  620. shortcut : lg
  621. about:
  622. website: http://libgen.rs/
  623. wikidata_id: Q22017206
  624. official_api_documentation:
  625. use_official_api: false
  626. require_api_key: false
  627. results: HTML
  628. - name : lobste.rs
  629. engine : xpath
  630. search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
  631. results_xpath : //li[contains(@class, "story")]
  632. url_xpath : .//a[@class="u-url"]/@href
  633. title_xpath : .//a[@class="u-url"]
  634. content_xpath : .//a[@class="domain"]
  635. categories : it
  636. shortcut : lo
  637. timeout : 3.0
  638. disabled: True
  639. about:
  640. website: https://lobste.rs/
  641. wikidata_id: Q60762874
  642. official_api_documentation:
  643. use_official_api: false
  644. require_api_key: false
  645. results: HTML
  646. - name : microsoft academic
  647. engine : microsoft_academic
  648. categories : science
  649. shortcut : ma
  650. - name : mixcloud
  651. engine : mixcloud
  652. shortcut : mc
  653. - name : npm
  654. engine : json_engine
  655. paging : True
  656. search_url : https://api.npms.io/v2/search?q={query}&size=25&from={pageno}
  657. results_query : results
  658. url_query : package/links/npm
  659. title_query : package/name
  660. content_query : package/description
  661. page_size : 25
  662. categories : it
  663. disabled: True
  664. timeout: 5.0
  665. shortcut : npm
  666. about:
  667. website: https://npms.io/
  668. wikidata_id: Q7067518
  669. official_api_documentation: https://api-docs.npms.io/
  670. use_official_api: false
  671. require_api_key: false
  672. results: JSON
  673. # Requires Tor
  674. - name : not evil
  675. engine : not_evil
  676. shortcut : ne
  677. - name : nyaa
  678. engine : nyaa
  679. shortcut : nt
  680. disabled : True
  681. - name : acgsou
  682. engine : acgsou
  683. shortcut : acg
  684. disabled : True
  685. timeout: 5.0
  686. - name : openairedatasets
  687. engine : json_engine
  688. paging : True
  689. search_url : https://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
  690. results_query : response/results/result
  691. url_query : metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  692. title_query : metadata/oaf:entity/oaf:result/title/$
  693. content_query : metadata/oaf:entity/oaf:result/description/$
  694. categories : science
  695. shortcut : oad
  696. timeout: 5.0
  697. about:
  698. website: https://www.openaire.eu/
  699. wikidata_id: Q25106053
  700. official_api_documentation: https://api.openaire.eu/
  701. use_official_api: false
  702. require_api_key: false
  703. results: JSON
  704. - name : openairepublications
  705. engine : json_engine
  706. paging : True
  707. search_url : https://api.openaire.eu/search/publications?format=json&page={pageno}&size=10&title={query}
  708. results_query : response/results/result
  709. url_query : metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  710. title_query : metadata/oaf:entity/oaf:result/title/$
  711. content_query : metadata/oaf:entity/oaf:result/description/$
  712. categories : science
  713. shortcut : oap
  714. timeout: 5.0
  715. about:
  716. website: https://www.openaire.eu/
  717. wikidata_id: Q25106053
  718. official_api_documentation: https://api.openaire.eu/
  719. use_official_api: false
  720. require_api_key: false
  721. results: JSON
  722. # - name : opensemanticsearch
  723. # engine : opensemantic
  724. # shortcut : oss
  725. # base_url : 'http://localhost:8983/solr/opensemanticsearch/'
  726. - name : openstreetmap
  727. engine : openstreetmap
  728. shortcut : osm
  729. - name : openrepos
  730. engine : xpath
  731. paging : True
  732. search_url : https://openrepos.net/search/node/{query}?page={pageno}
  733. url_xpath : //li[@class="search-result"]//h3[@class="title"]/a/@href
  734. title_xpath : //li[@class="search-result"]//h3[@class="title"]/a
  735. content_xpath : //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  736. categories : files
  737. timeout : 4.0
  738. disabled : True
  739. shortcut : or
  740. about:
  741. website: https://openrepos.net/
  742. wikidata_id:
  743. official_api_documentation:
  744. use_official_api: false
  745. require_api_key: false
  746. results: HTML
  747. - name : pdbe
  748. engine : pdbe
  749. shortcut : pdb
  750. # Hide obsolete PDB entries.
  751. # Default is not to hide obsolete structures
  752. # hide_obsolete : False
  753. - name : photon
  754. engine : photon
  755. shortcut : ph
  756. - name : piratebay
  757. engine : piratebay
  758. shortcut : tpb
  759. # You may need to change this URL to a proxy if piratebay is blocked in your country
  760. url: https://thepiratebay.org/
  761. timeout : 3.0
  762. - name : pubmed
  763. engine : pubmed
  764. shortcut : pub
  765. categories: science
  766. timeout : 3.0
  767. - name : qwant
  768. engine : qwant
  769. shortcut : qw
  770. categories : general
  771. disabled : True
  772. additional_tests:
  773. rosebud: *test_rosebud
  774. - name : qwant images
  775. engine : qwant
  776. shortcut : qwi
  777. categories : images
  778. - name : qwant news
  779. engine : qwant
  780. shortcut : qwn
  781. categories : news
  782. # - name: library
  783. # engine: recoll
  784. # shortcut: lib
  785. # base_url: 'https://recoll.example.org/'
  786. # search_dir: ''
  787. # mount_prefix: /export
  788. # dl_prefix: 'https://download.example.org'
  789. # timeout: 30.0
  790. # categories: files
  791. # disabled: True
  792. # - name: recoll library reference
  793. # engine: recoll
  794. # base_url: 'https://recoll.example.org/'
  795. # search_dir: reference
  796. # mount_prefix: /export
  797. # dl_prefix: 'https://download.example.org'
  798. # shortcut: libr
  799. # timeout: 30.0
  800. # categories: files
  801. # disabled: True
  802. - name : reddit
  803. engine : reddit
  804. shortcut : re
  805. page_size : 25
  806. timeout : 10.0
  807. disabled : True
  808. # tmp suspended: bad certificate
  809. # - name : scanr structures
  810. # shortcut: scs
  811. # engine : scanr_structures
  812. # disabled : True
  813. - name: sepiasearch
  814. engine: sepiasearch
  815. shortcut: sep
  816. - name : soundcloud
  817. engine : soundcloud
  818. shortcut : sc
  819. - name : stackoverflow
  820. engine : stackoverflow
  821. shortcut : st
  822. - name : searchcode code
  823. engine : searchcode_code
  824. shortcut : scc
  825. disabled : True
  826. - name : framalibre
  827. engine : framalibre
  828. shortcut : frl
  829. disabled : True
  830. # - name : searx
  831. # engine : searx_engine
  832. # shortcut : se
  833. # instance_urls :
  834. # - http://127.0.0.1:8888/
  835. # - ...
  836. # disabled : True
  837. - name : semantic scholar
  838. engine : xpath
  839. paging : True
  840. search_url : https://www.semanticscholar.org/search?q={query}&sort=relevance&page={pageno}&ae=false
  841. results_xpath : //article
  842. url_xpath : .//div[@class="search-result-title"]/a/@href
  843. title_xpath : .//div[@class="search-result-title"]/a
  844. content_xpath : .//div[@class="search-result-abstract"]
  845. shortcut : se
  846. categories : science
  847. about:
  848. website: https://www.semanticscholar.org/
  849. wikidata_id: Q22908627
  850. official_api_documentation: https://api.semanticscholar.org/
  851. use_official_api: false
  852. require_api_key: false
  853. results: HTML
  854. # Spotify needs API credentials
  855. # - name : spotify
  856. # engine : spotify
  857. # shortcut : stf
  858. # api_client_id : *******
  859. # api_client_secret : *******
  860. - name : startpage
  861. engine : startpage
  862. shortcut : sp
  863. timeout : 6.0
  864. disabled : True
  865. additional_tests:
  866. rosebud: *test_rosebud
  867. - name : tokyotoshokan
  868. engine : tokyotoshokan
  869. shortcut : tt
  870. timeout : 6.0
  871. disabled : True
  872. - name : torrentz
  873. engine : torrentz
  874. shortcut : tor
  875. url: https://torrentz2.eu/
  876. timeout : 3.0
  877. # Requires Tor
  878. - name : torch
  879. engine : xpath
  880. paging : True
  881. search_url : http://xmh57jrknzkhv6y3ls3ubitzfqnkrwxhopf5aygthi7d6rplyvk3noyd.onion/cgi-bin/omega/omega?P={query}&DEFAULTOP=and
  882. results_xpath : //table//tr
  883. url_xpath : ./td[2]/a
  884. title_xpath : ./td[2]/b
  885. content_xpath : ./td[2]/small
  886. categories : onions
  887. shortcut : tch
  888. # maybe in a fun category
  889. # - name : uncyclopedia
  890. # engine : mediawiki
  891. # shortcut : unc
  892. # base_url : https://uncyclopedia.wikia.com/
  893. # number_of_results : 5
  894. # tmp suspended - too slow, too many errors
  895. # - name : urbandictionary
  896. # engine : xpath
  897. # search_url : http://www.urbandictionary.com/define.php?term={query}
  898. # url_xpath : //*[@class="word"]/@href
  899. # title_xpath : //*[@class="def-header"]
  900. # content_xpath : //*[@class="meaning"]
  901. # shortcut : ud
  902. - name : unsplash
  903. engine : unsplash
  904. disabled: True
  905. shortcut : us
  906. - name : yahoo
  907. engine : yahoo
  908. shortcut : yh
  909. disabled : True
  910. - name : yandex
  911. engine : yandex
  912. shortcut : yn
  913. disabled : True
  914. - name : yahoo news
  915. engine : yahoo_news
  916. shortcut : yhn
  917. - name : youtube
  918. shortcut : yt
  919. # You can use the engine using the official stable API, but you need an API key
  920. # See : https://console.developers.google.com/project
  921. # engine : youtube_api
  922. # api_key: 'apikey' # required!
  923. # Or you can use the html non-stable engine, activated by default
  924. engine : youtube_noapi
  925. # tmp suspended: Cloudflare CAPTCHA
  926. #- name : yggtorrent
  927. # engine : yggtorrent
  928. # shortcut : ygg
  929. # url: https://www2.yggtorrent.si/
  930. # disabled : True
  931. # timeout : 4.0
  932. - name : dailymotion
  933. engine : dailymotion
  934. shortcut : dm
  935. - name : vimeo
  936. engine : vimeo
  937. shortcut : vm
  938. - name : wiby
  939. engine : json_engine
  940. search_url : https://wiby.me/json/?q={query}
  941. url_query : URL
  942. title_query : Title
  943. content_query : Snippet
  944. categories : general
  945. shortcut : wib
  946. disabled : True
  947. - name : wikibooks
  948. engine : mediawiki
  949. shortcut : wb
  950. categories : general
  951. base_url : "https://{language}.wikibooks.org/"
  952. number_of_results : 5
  953. search_type : text
  954. disabled : True
  955. about:
  956. website: https://www.wikibooks.org/
  957. wikidata_id: Q367
  958. - name : wikinews
  959. engine : mediawiki
  960. shortcut : wn
  961. categories : news
  962. base_url : "https://{language}.wikinews.org/"
  963. number_of_results : 5
  964. search_type : text
  965. disabled : True
  966. about:
  967. website: https://www.wikinews.org/
  968. wikidata_id: Q964
  969. - name : wikiquote
  970. engine : mediawiki
  971. shortcut : wq
  972. categories : general
  973. base_url : "https://{language}.wikiquote.org/"
  974. number_of_results : 5
  975. search_type : text
  976. disabled : True
  977. additional_tests:
  978. rosebud: *test_rosebud
  979. about:
  980. website: https://www.wikiquote.org/
  981. wikidata_id: Q369
  982. - name : wikisource
  983. engine : mediawiki
  984. shortcut : ws
  985. categories : general
  986. base_url : "https://{language}.wikisource.org/"
  987. number_of_results : 5
  988. search_type : text
  989. disabled : True
  990. about:
  991. website: https://www.wikisource.org/
  992. wikidata_id: Q263
  993. - name : wiktionary
  994. engine : mediawiki
  995. shortcut : wt
  996. categories : general
  997. base_url : "https://{language}.wiktionary.org/"
  998. number_of_results : 5
  999. search_type : text
  1000. disabled : True
  1001. about:
  1002. website: https://www.wiktionary.org/
  1003. wikidata_id: Q151
  1004. - name : wikiversity
  1005. engine : mediawiki
  1006. shortcut : wv
  1007. categories : general
  1008. base_url : "https://{language}.wikiversity.org/"
  1009. number_of_results : 5
  1010. search_type : text
  1011. disabled : True
  1012. about:
  1013. website: https://www.wikiversity.org/
  1014. wikidata_id: Q370
  1015. - name : wikivoyage
  1016. engine : mediawiki
  1017. shortcut : wy
  1018. categories : general
  1019. base_url : "https://{language}.wikivoyage.org/"
  1020. number_of_results : 5
  1021. search_type : text
  1022. disabled : True
  1023. about:
  1024. website: https://www.wikivoyage.org/
  1025. wikidata_id: Q373
  1026. - name : wolframalpha
  1027. shortcut : wa
  1028. # You can use the engine using the official stable API, but you need an API key
  1029. # See : http://products.wolframalpha.com/api/
  1030. # engine : wolframalpha_api
  1031. # api_key: '' # required!
  1032. engine : wolframalpha_noapi
  1033. timeout: 6.0
  1034. categories : science
  1035. - name : dictzone
  1036. engine : dictzone
  1037. shortcut : dc
  1038. - name : mymemory translated
  1039. engine : translated
  1040. shortcut : tl
  1041. timeout : 5.0
  1042. disabled : True
  1043. # You can use without an API key, but you are limited to 1000 words/day
  1044. # See : http://mymemory.translated.net/doc/usagelimits.php
  1045. # api_key : ''
  1046. - name : 1337x
  1047. engine : 1337x
  1048. shortcut : 1337x
  1049. disabled : True
  1050. - name : duden
  1051. engine : duden
  1052. shortcut : du
  1053. disabled : True
  1054. - name : seznam
  1055. shortcut: szn
  1056. engine: xpath
  1057. paging : True
  1058. search_url : https://search.seznam.cz/?q={query}&count=10&from={pageno}
  1059. results_xpath: //div[@class="Page-content"]//div[contains(@class, "Result ")]
  1060. url_xpath : ./h3/a/@href
  1061. title_xpath : ./h3
  1062. content_xpath : .//p[@class="Result-description"]
  1063. suggestion_xpath: //div[@class="Related-container"]//div[@class="RelatedItem"]/div/span/a
  1064. first_page_num : 0
  1065. page_size : 10
  1066. disabled : True
  1067. about:
  1068. website: https://www.seznam.cz/
  1069. wikidata_id: Q3490485
  1070. official_api_documentation: https://api.sklik.cz/
  1071. use_official_api: false
  1072. require_api_key: false
  1073. results: HTML
  1074. - name : mojeek
  1075. shortcut: mjk
  1076. engine: xpath
  1077. paging : True
  1078. search_url : https://www.mojeek.com/search?q={query}&s={pageno}
  1079. results_xpath: /html/body//div[@class="results"]/ul[@class="results-standard"]/li
  1080. url_xpath : ./h2/a/@href
  1081. title_xpath : ./h2
  1082. content_xpath : ./p[@class="s"]
  1083. suggestion_xpath : /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
  1084. first_page_num : 0
  1085. page_size : 10
  1086. disabled : True
  1087. about:
  1088. website: https://www.mojeek.com/
  1089. wikidata_id: Q60747299
  1090. official_api_documentation: https://www.mojeek.com/services/api.html/
  1091. use_official_api: false
  1092. require_api_key: false
  1093. results: HTML
  1094. - name : naver
  1095. shortcut: nvr
  1096. engine: xpath
  1097. paging : True
  1098. search_url : https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno}
  1099. url_xpath : //a[@class="link_tit"]/@href
  1100. title_xpath : //a[@class="link_tit"]
  1101. content_xpath : //a[@class="total_dsc"]/div
  1102. first_page_num : 1
  1103. page_size : 10
  1104. disabled : True
  1105. about:
  1106. website: https://www.naver.com/
  1107. wikidata_id: Q485639
  1108. official_api_documentation: https://developers.naver.com/docs/nmt/examples/
  1109. use_official_api: false
  1110. require_api_key: false
  1111. results: HTML
  1112. - name : rubygems
  1113. shortcut: rbg
  1114. engine: xpath
  1115. paging : True
  1116. search_url : https://rubygems.org/search?page={pageno}&query={query}
  1117. results_xpath: /html/body/main/div/a[@class="gems__gem"]
  1118. url_xpath : ./@href
  1119. title_xpath : ./span/h2
  1120. content_xpath : ./span/p
  1121. suggestion_xpath : /html/body/main/div/div[@class="search__suggestions"]/p/a
  1122. first_page_num : 1
  1123. categories: it
  1124. disabled : True
  1125. about:
  1126. website: https://rubygems.org/
  1127. wikidata_id: Q1853420
  1128. official_api_documentation: https://guides.rubygems.org/rubygems-org-api/
  1129. use_official_api: false
  1130. require_api_key: false
  1131. results: HTML
  1132. - name : peertube
  1133. engine: peertube
  1134. shortcut: ptb
  1135. paging : True
  1136. base_url : https://peer.tube/
  1137. categories: videos
  1138. disabled : True
  1139. # - name : yacy
  1140. # engine : yacy
  1141. # shortcut : ya
  1142. # base_url : 'http://localhost:8090'
  1143. # number_of_results : 5
  1144. # timeout : 3.0
  1145. # Doku engine lets you access to any Doku wiki instance:
  1146. # A public one or a privete/corporate one.
  1147. # - name : ubuntuwiki
  1148. # engine : doku
  1149. # shortcut : uw
  1150. # base_url : 'http://doc.ubuntu-fr.org'
  1151. # Be careful when enabling this engine if you are
  1152. # running a public instance. Do not expose any sensitive
  1153. # information. You can restrict access by configuring a list
  1154. # of access tokens under tokens.
  1155. # - name: git grep
  1156. # engine: command
  1157. # command: ['git', 'grep', '{{QUERY}}']
  1158. # shortcut: gg
  1159. # tokens: []
  1160. # disabled: True
  1161. # delimiter:
  1162. # chars: ':'
  1163. # keys: ['filepath', 'code']
  1164. # Be careful when enabling this engine if you are
  1165. # running a public instance. Do not expose any sensitive
  1166. # information. You can restrict access by configuring a list
  1167. # of access tokens under tokens.
  1168. # - name: locate
  1169. # engine: command
  1170. # command: ['locate', '{{QUERY}}']
  1171. # shortcut: loc
  1172. # tokens: []
  1173. # disabled: True
  1174. # delimiter:
  1175. # chars: ' '
  1176. # keys: ['line']
  1177. # Be careful when enabling this engine if you are
  1178. # running a public instance. Do not expose any sensitive
  1179. # information. You can restrict access by configuring a list
  1180. # of access tokens under tokens.
  1181. # - name: find
  1182. # engine: command
  1183. # command: ['find', '.', '-name', '{{QUERY}}']
  1184. # query_type: path
  1185. # shortcut: fnd
  1186. # tokens: []
  1187. # disabled: True
  1188. # delimiter:
  1189. # chars: ' '
  1190. # keys: ['line']
  1191. # Be careful when enabling this engine if you are
  1192. # running a public instance. Do not expose any sensitive
  1193. # information. You can restrict access by configuring a list
  1194. # of access tokens under tokens.
  1195. # - name: pattern search in files
  1196. # engine: command
  1197. # command: ['fgrep', '{{QUERY}}']
  1198. # shortcut: fgr
  1199. # tokens: []
  1200. # disabled: True
  1201. # delimiter:
  1202. # chars: ' '
  1203. # keys: ['line']
  1204. # Be careful when enabling this engine if you are
  1205. # running a public instance. Do not expose any sensitive
  1206. # information. You can restrict access by configuring a list
  1207. # of access tokens under tokens.
  1208. # - name: regex search in files
  1209. # engine: command
  1210. # command: ['grep', '{{QUERY}}']
  1211. # shortcut: gr
  1212. # tokens: []
  1213. # disabled: True
  1214. # delimiter:
  1215. # chars: ' '
  1216. # keys: ['line']
  1217. locales:
  1218. en : English
  1219. ar : العَرَبِيَّة (Arabic)
  1220. bg : Български (Bulgarian)
  1221. bo : བོད་སྐད་ (Tibetian)
  1222. ca : Català (Catalan)
  1223. cs : Čeština (Czech)
  1224. cy : Cymraeg (Welsh)
  1225. da : Dansk (Danish)
  1226. de : Deutsch (German)
  1227. el_GR : Ελληνικά (Greek_Greece)
  1228. eo : Esperanto (Esperanto)
  1229. es : Español (Spanish)
  1230. et : Eesti (Estonian)
  1231. eu : Euskara (Basque)
  1232. fa_IR : (fārsī) فارسى (Persian)
  1233. fi : Suomi (Finnish)
  1234. fil : Wikang Filipino (Filipino)
  1235. fr : Français (French)
  1236. gl : Galego (Galician)
  1237. he : עברית (Hebrew)
  1238. hr : Hrvatski (Croatian)
  1239. hu : Magyar (Hungarian)
  1240. ia : Interlingua (Interlingua)
  1241. it : Italiano (Italian)
  1242. ja : 日本語 (Japanese)
  1243. lt : Lietuvių (Lithuanian)
  1244. nl : Nederlands (Dutch)
  1245. nl_BE : Vlaams (Dutch_Belgium)
  1246. oc : Lenga D'òc (Occitan)
  1247. pl : Polski (Polish)
  1248. pt : Português (Portuguese)
  1249. pt_BR : Português (Portuguese_Brazil)
  1250. ro : Română (Romanian)
  1251. ru : Русский (Russian)
  1252. sk : Slovenčina (Slovak)
  1253. sl : Slovenski (Slovene)
  1254. sr : српски (Serbian)
  1255. sv : Svenska (Swedish)
  1256. te : తెలుగు (telugu)
  1257. ta : தமிழ் (Tamil)
  1258. tr : Türkçe (Turkish)
  1259. uk : українська мова (Ukrainian)
  1260. vi : tiếng việt (Vietnamese)
  1261. zh : 中文 (Chinese)
  1262. zh_TW : 國語 (Taiwanese Mandarin)
  1263. doi_resolvers :
  1264. oadoi.org : 'https://oadoi.org/'
  1265. doi.org : 'https://doi.org/'
  1266. doai.io : 'https://dissem.in/'
  1267. sci-hub.tw : 'https://sci-hub.tw/'
  1268. default_doi_resolver : 'sci-hub.tw'