settings.yml 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383
  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 : geektimes
  522. engine : xpath
  523. paging : True
  524. search_url : https://geektimes.ru/search/page{pageno}/?q={query}
  525. url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
  526. title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]
  527. content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")]
  528. categories : it
  529. timeout : 4.0
  530. disabled : True
  531. shortcut : gt
  532. about:
  533. website: https://geektimes.ru/
  534. wikidata_id: Q50572423
  535. official_api_documentation:
  536. use_official_api: false
  537. require_api_key: false
  538. results: HTML
  539. - name : habrahabr
  540. engine : xpath
  541. paging : True
  542. search_url : https://habrahabr.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 : habr
  550. about:
  551. website: https://habr.com/
  552. wikidata_id: Q4494434
  553. official_api_documentation: https://habr.com/en/docs/help/api/
  554. use_official_api: false
  555. require_api_key: false
  556. results: HTML
  557. - name : hoogle
  558. engine : json_engine
  559. paging : True
  560. search_url : https://www.haskell.org/hoogle/?mode=json&hoogle={query}&start={pageno}
  561. results_query : results
  562. url_query : location
  563. title_query : self
  564. content_query : docs
  565. page_size : 20
  566. categories : it
  567. shortcut : ho
  568. about:
  569. website: https://www.haskell.org/
  570. wikidata_id: Q34010
  571. official_api_documentation: https://hackage.haskell.org/api
  572. use_official_api: false
  573. require_api_key: false
  574. results: JSON
  575. - name : ina
  576. engine : ina
  577. shortcut : in
  578. timeout : 6.0
  579. disabled : True
  580. - name : invidious
  581. engine : invidious
  582. base_url :
  583. - https://invidious.tube/
  584. - https://invidious.snopyta.org/
  585. shortcut: iv
  586. timeout : 5.0
  587. disabled : True
  588. - name: kickass
  589. engine : kickass
  590. shortcut : kc
  591. timeout : 4.0
  592. disabled : True
  593. - name : library genesis
  594. engine : xpath
  595. search_url : http://libgen.rs/search.php?req={query}
  596. url_xpath : //a[contains(@href,"bookfi.net/md5")]/@href
  597. title_xpath : //a[contains(@href,"book/")]/text()[1]
  598. content_xpath : //td/a[1][contains(@href,"=author")]/text()
  599. categories : general
  600. timeout : 7.0
  601. disabled : True
  602. shortcut : lg
  603. about:
  604. website: http://libgen.rs/
  605. wikidata_id: Q22017206
  606. official_api_documentation:
  607. use_official_api: false
  608. require_api_key: false
  609. results: HTML
  610. - name : library of congress
  611. engine : loc
  612. shortcut : loc
  613. categories : images
  614. - name : lobste.rs
  615. engine : xpath
  616. search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
  617. results_xpath : //li[contains(@class, "story")]
  618. url_xpath : .//a[@class="u-url"]/@href
  619. title_xpath : .//a[@class="u-url"]
  620. content_xpath : .//a[@class="domain"]
  621. categories : it
  622. shortcut : lo
  623. timeout : 3.0
  624. disabled: True
  625. about:
  626. website: https://lobste.rs/
  627. wikidata_id: Q60762874
  628. official_api_documentation:
  629. use_official_api: false
  630. require_api_key: false
  631. results: HTML
  632. - name : microsoft academic
  633. engine : microsoft_academic
  634. categories : science
  635. shortcut : ma
  636. - name : mixcloud
  637. engine : mixcloud
  638. shortcut : mc
  639. - name : npm
  640. engine : json_engine
  641. paging : True
  642. search_url : https://api.npms.io/v2/search?q={query}&size=25&from={pageno}
  643. results_query : results
  644. url_query : package/links/npm
  645. title_query : package/name
  646. content_query : package/description
  647. page_size : 25
  648. categories : it
  649. disabled: True
  650. timeout: 5.0
  651. shortcut : npm
  652. about:
  653. website: https://npms.io/
  654. wikidata_id: Q7067518
  655. official_api_documentation: https://api-docs.npms.io/
  656. use_official_api: false
  657. require_api_key: false
  658. results: JSON
  659. # Requires Tor
  660. - name : not evil
  661. engine : not_evil
  662. shortcut : ne
  663. - name : nyaa
  664. engine : nyaa
  665. shortcut : nt
  666. disabled : True
  667. - name : acgsou
  668. engine : acgsou
  669. shortcut : acg
  670. disabled : True
  671. timeout: 5.0
  672. - name : openairedatasets
  673. engine : json_engine
  674. paging : True
  675. search_url : https://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
  676. results_query : response/results/result
  677. url_query : metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  678. title_query : metadata/oaf:entity/oaf:result/title/$
  679. content_query : metadata/oaf:entity/oaf:result/description/$
  680. categories : science
  681. shortcut : oad
  682. timeout: 5.0
  683. about:
  684. website: https://www.openaire.eu/
  685. wikidata_id: Q25106053
  686. official_api_documentation: https://api.openaire.eu/
  687. use_official_api: false
  688. require_api_key: false
  689. results: JSON
  690. - name : openairepublications
  691. engine : json_engine
  692. paging : True
  693. search_url : https://api.openaire.eu/search/publications?format=json&page={pageno}&size=10&title={query}
  694. results_query : response/results/result
  695. url_query : metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  696. title_query : metadata/oaf:entity/oaf:result/title/$
  697. content_query : metadata/oaf:entity/oaf:result/description/$
  698. categories : science
  699. shortcut : oap
  700. timeout: 5.0
  701. about:
  702. website: https://www.openaire.eu/
  703. wikidata_id: Q25106053
  704. official_api_documentation: https://api.openaire.eu/
  705. use_official_api: false
  706. require_api_key: false
  707. results: JSON
  708. # - name : opensemanticsearch
  709. # engine : opensemantic
  710. # shortcut : oss
  711. # base_url : 'http://localhost:8983/solr/opensemanticsearch/'
  712. - name : openstreetmap
  713. engine : openstreetmap
  714. shortcut : osm
  715. - name : openrepos
  716. engine : xpath
  717. paging : True
  718. search_url : https://openrepos.net/search/node/{query}?page={pageno}
  719. url_xpath : //li[@class="search-result"]//h3[@class="title"]/a/@href
  720. title_xpath : //li[@class="search-result"]//h3[@class="title"]/a
  721. content_xpath : //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  722. categories : files
  723. timeout : 4.0
  724. disabled : True
  725. shortcut : or
  726. about:
  727. website: https://openrepos.net/
  728. wikidata_id:
  729. official_api_documentation:
  730. use_official_api: false
  731. require_api_key: false
  732. results: HTML
  733. - name : pdbe
  734. engine : pdbe
  735. shortcut : pdb
  736. # Hide obsolete PDB entries.
  737. # Default is not to hide obsolete structures
  738. # hide_obsolete : False
  739. - name : photon
  740. engine : photon
  741. shortcut : ph
  742. - name : piratebay
  743. engine : piratebay
  744. shortcut : tpb
  745. # You may need to change this URL to a proxy if piratebay is blocked in your country
  746. url: https://thepiratebay.org/
  747. timeout : 3.0
  748. - name : pubmed
  749. engine : pubmed
  750. shortcut : pub
  751. categories: science
  752. timeout : 3.0
  753. - name : qwant
  754. engine : qwant
  755. shortcut : qw
  756. categories : general
  757. disabled : True
  758. additional_tests:
  759. rosebud: *test_rosebud
  760. - name : qwant images
  761. engine : qwant
  762. shortcut : qwi
  763. categories : images
  764. - name : qwant news
  765. engine : qwant
  766. shortcut : qwn
  767. categories : news
  768. # - name: library
  769. # engine: recoll
  770. # shortcut: lib
  771. # base_url: 'https://recoll.example.org/'
  772. # search_dir: ''
  773. # mount_prefix: /export
  774. # dl_prefix: 'https://download.example.org'
  775. # timeout: 30.0
  776. # categories: files
  777. # disabled: True
  778. # - name: recoll library reference
  779. # engine: recoll
  780. # base_url: 'https://recoll.example.org/'
  781. # search_dir: reference
  782. # mount_prefix: /export
  783. # dl_prefix: 'https://download.example.org'
  784. # shortcut: libr
  785. # timeout: 30.0
  786. # categories: files
  787. # disabled: True
  788. - name : reddit
  789. engine : reddit
  790. shortcut : re
  791. page_size : 25
  792. timeout : 10.0
  793. disabled : True
  794. # tmp suspended: bad certificate
  795. # - name : scanr structures
  796. # shortcut: scs
  797. # engine : scanr_structures
  798. # disabled : True
  799. - name: sepiasearch
  800. engine: sepiasearch
  801. shortcut: sep
  802. - name : soundcloud
  803. engine : soundcloud
  804. shortcut : sc
  805. - name : stackoverflow
  806. engine : stackoverflow
  807. shortcut : st
  808. - name : searchcode code
  809. engine : searchcode_code
  810. shortcut : scc
  811. disabled : True
  812. - name : framalibre
  813. engine : framalibre
  814. shortcut : frl
  815. disabled : True
  816. # - name : searx
  817. # engine : searx_engine
  818. # shortcut : se
  819. # instance_urls :
  820. # - http://127.0.0.1:8888/
  821. # - ...
  822. # disabled : True
  823. - name : semantic scholar
  824. engine : xpath
  825. paging : True
  826. search_url : https://www.semanticscholar.org/search?q={query}&sort=relevance&page={pageno}&ae=false
  827. results_xpath : //article
  828. url_xpath : .//div[@class="search-result-title"]/a/@href
  829. title_xpath : .//div[@class="search-result-title"]/a
  830. content_xpath : .//div[@class="search-result-abstract"]
  831. shortcut : se
  832. categories : science
  833. about:
  834. website: https://www.semanticscholar.org/
  835. wikidata_id: Q22908627
  836. official_api_documentation: https://api.semanticscholar.org/
  837. use_official_api: false
  838. require_api_key: false
  839. results: HTML
  840. # Spotify needs API credentials
  841. # - name : spotify
  842. # engine : spotify
  843. # shortcut : stf
  844. # api_client_id : *******
  845. # api_client_secret : *******
  846. - name : startpage
  847. engine : startpage
  848. shortcut : sp
  849. timeout : 6.0
  850. disabled : True
  851. additional_tests:
  852. rosebud: *test_rosebud
  853. - name : tokyotoshokan
  854. engine : tokyotoshokan
  855. shortcut : tt
  856. timeout : 6.0
  857. disabled : True
  858. - name : torrentz
  859. engine : torrentz
  860. shortcut : tor
  861. url: https://torrentz2.eu/
  862. timeout : 3.0
  863. # Requires Tor
  864. - name : torch
  865. engine : xpath
  866. paging : True
  867. search_url : http://xmh57jrknzkhv6y3ls3ubitzfqnkrwxhopf5aygthi7d6rplyvk3noyd.onion/cgi-bin/omega/omega?P={query}&DEFAULTOP=and
  868. results_xpath : //table//tr
  869. url_xpath : ./td[2]/a
  870. title_xpath : ./td[2]/b
  871. content_xpath : ./td[2]/small
  872. categories : onions
  873. shortcut : tch
  874. # maybe in a fun category
  875. # - name : uncyclopedia
  876. # engine : mediawiki
  877. # shortcut : unc
  878. # base_url : https://uncyclopedia.wikia.com/
  879. # number_of_results : 5
  880. # tmp suspended - too slow, too many errors
  881. # - name : urbandictionary
  882. # engine : xpath
  883. # search_url : http://www.urbandictionary.com/define.php?term={query}
  884. # url_xpath : //*[@class="word"]/@href
  885. # title_xpath : //*[@class="def-header"]
  886. # content_xpath : //*[@class="meaning"]
  887. # shortcut : ud
  888. - name : unsplash
  889. engine : unsplash
  890. disabled: True
  891. shortcut : us
  892. - name : yahoo
  893. engine : yahoo
  894. shortcut : yh
  895. disabled : True
  896. - name : yandex
  897. engine : yandex
  898. shortcut : yn
  899. disabled : True
  900. - name : yahoo news
  901. engine : yahoo_news
  902. shortcut : yhn
  903. - name : youtube
  904. shortcut : yt
  905. # You can use the engine using the official stable API, but you need an API key
  906. # See : https://console.developers.google.com/project
  907. # engine : youtube_api
  908. # api_key: 'apikey' # required!
  909. # Or you can use the html non-stable engine, activated by default
  910. engine : youtube_noapi
  911. # tmp suspended: Cloudflare CAPTCHA
  912. #- name : yggtorrent
  913. # engine : yggtorrent
  914. # shortcut : ygg
  915. # url: https://www2.yggtorrent.si/
  916. # disabled : True
  917. # timeout : 4.0
  918. - name : dailymotion
  919. engine : dailymotion
  920. shortcut : dm
  921. - name : vimeo
  922. engine : vimeo
  923. shortcut : vm
  924. - name : wiby
  925. engine : json_engine
  926. search_url : https://wiby.me/json/?q={query}
  927. url_query : URL
  928. title_query : Title
  929. content_query : Snippet
  930. categories : general
  931. shortcut : wib
  932. disabled : True
  933. - name : wikibooks
  934. engine : mediawiki
  935. shortcut : wb
  936. categories : general
  937. base_url : "https://{language}.wikibooks.org/"
  938. number_of_results : 5
  939. search_type : text
  940. disabled : True
  941. about:
  942. website: https://www.wikibooks.org/
  943. wikidata_id: Q367
  944. - name : wikinews
  945. engine : mediawiki
  946. shortcut : wn
  947. categories : news
  948. base_url : "https://{language}.wikinews.org/"
  949. number_of_results : 5
  950. search_type : text
  951. disabled : True
  952. about:
  953. website: https://www.wikinews.org/
  954. wikidata_id: Q964
  955. - name : wikiquote
  956. engine : mediawiki
  957. shortcut : wq
  958. categories : general
  959. base_url : "https://{language}.wikiquote.org/"
  960. number_of_results : 5
  961. search_type : text
  962. disabled : True
  963. additional_tests:
  964. rosebud: *test_rosebud
  965. about:
  966. website: https://www.wikiquote.org/
  967. wikidata_id: Q369
  968. - name : wikisource
  969. engine : mediawiki
  970. shortcut : ws
  971. categories : general
  972. base_url : "https://{language}.wikisource.org/"
  973. number_of_results : 5
  974. search_type : text
  975. disabled : True
  976. about:
  977. website: https://www.wikisource.org/
  978. wikidata_id: Q263
  979. - name : wiktionary
  980. engine : mediawiki
  981. shortcut : wt
  982. categories : general
  983. base_url : "https://{language}.wiktionary.org/"
  984. number_of_results : 5
  985. search_type : text
  986. disabled : True
  987. about:
  988. website: https://www.wiktionary.org/
  989. wikidata_id: Q151
  990. - name : wikiversity
  991. engine : mediawiki
  992. shortcut : wv
  993. categories : general
  994. base_url : "https://{language}.wikiversity.org/"
  995. number_of_results : 5
  996. search_type : text
  997. disabled : True
  998. about:
  999. website: https://www.wikiversity.org/
  1000. wikidata_id: Q370
  1001. - name : wikivoyage
  1002. engine : mediawiki
  1003. shortcut : wy
  1004. categories : general
  1005. base_url : "https://{language}.wikivoyage.org/"
  1006. number_of_results : 5
  1007. search_type : text
  1008. disabled : True
  1009. about:
  1010. website: https://www.wikivoyage.org/
  1011. wikidata_id: Q373
  1012. - name : wolframalpha
  1013. shortcut : wa
  1014. # You can use the engine using the official stable API, but you need an API key
  1015. # See : http://products.wolframalpha.com/api/
  1016. # engine : wolframalpha_api
  1017. # api_key: '' # required!
  1018. engine : wolframalpha_noapi
  1019. timeout: 6.0
  1020. categories : science
  1021. - name : dictzone
  1022. engine : dictzone
  1023. shortcut : dc
  1024. - name : mymemory translated
  1025. engine : translated
  1026. shortcut : tl
  1027. timeout : 5.0
  1028. disabled : True
  1029. # You can use without an API key, but you are limited to 1000 words/day
  1030. # See : http://mymemory.translated.net/doc/usagelimits.php
  1031. # api_key : ''
  1032. - name : 1337x
  1033. engine : 1337x
  1034. shortcut : 1337x
  1035. disabled : True
  1036. - name : duden
  1037. engine : duden
  1038. shortcut : du
  1039. disabled : True
  1040. - name : seznam
  1041. shortcut: szn
  1042. engine: seznam
  1043. disabled : True
  1044. - name : mojeek
  1045. shortcut: mjk
  1046. engine: xpath
  1047. paging : True
  1048. search_url : https://www.mojeek.com/search?q={query}&s={pageno}
  1049. results_xpath: /html/body//div[@class="results"]/ul[@class="results-standard"]/li
  1050. url_xpath : ./h2/a/@href
  1051. title_xpath : ./h2
  1052. content_xpath : ./p[@class="s"]
  1053. suggestion_xpath : /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
  1054. first_page_num : 0
  1055. page_size : 10
  1056. disabled : True
  1057. about:
  1058. website: https://www.mojeek.com/
  1059. wikidata_id: Q60747299
  1060. official_api_documentation: https://www.mojeek.com/services/api.html/
  1061. use_official_api: false
  1062. require_api_key: false
  1063. results: HTML
  1064. - name : naver
  1065. shortcut: nvr
  1066. engine: xpath
  1067. paging : True
  1068. search_url : https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno}
  1069. url_xpath : //a[@class="link_tit"]/@href
  1070. title_xpath : //a[@class="link_tit"]
  1071. content_xpath : //a[@class="total_dsc"]/div
  1072. first_page_num : 1
  1073. page_size : 10
  1074. disabled : True
  1075. about:
  1076. website: https://www.naver.com/
  1077. wikidata_id: Q485639
  1078. official_api_documentation: https://developers.naver.com/docs/nmt/examples/
  1079. use_official_api: false
  1080. require_api_key: false
  1081. results: HTML
  1082. - name : rubygems
  1083. shortcut: rbg
  1084. engine: xpath
  1085. paging : True
  1086. search_url : https://rubygems.org/search?page={pageno}&query={query}
  1087. results_xpath: /html/body/main/div/a[@class="gems__gem"]
  1088. url_xpath : ./@href
  1089. title_xpath : ./span/h2
  1090. content_xpath : ./span/p
  1091. suggestion_xpath : /html/body/main/div/div[@class="search__suggestions"]/p/a
  1092. first_page_num : 1
  1093. categories: it
  1094. disabled : True
  1095. about:
  1096. website: https://rubygems.org/
  1097. wikidata_id: Q1853420
  1098. official_api_documentation: https://guides.rubygems.org/rubygems-org-api/
  1099. use_official_api: false
  1100. require_api_key: false
  1101. results: HTML
  1102. - name : peertube
  1103. engine: peertube
  1104. shortcut: ptb
  1105. paging : True
  1106. base_url : https://peer.tube/
  1107. categories: videos
  1108. disabled : True
  1109. # - name : yacy
  1110. # engine : yacy
  1111. # shortcut : ya
  1112. # base_url : 'http://localhost:8090'
  1113. # number_of_results : 5
  1114. # timeout : 3.0
  1115. # Doku engine lets you access to any Doku wiki instance:
  1116. # A public one or a privete/corporate one.
  1117. # - name : ubuntuwiki
  1118. # engine : doku
  1119. # shortcut : uw
  1120. # base_url : 'http://doc.ubuntu-fr.org'
  1121. # Be careful when enabling this engine if you are
  1122. # running a public instance. Do not expose any sensitive
  1123. # information. You can restrict access by configuring a list
  1124. # of access tokens under tokens.
  1125. # - name: git grep
  1126. # engine: command
  1127. # command: ['git', 'grep', '{{QUERY}}']
  1128. # shortcut: gg
  1129. # tokens: []
  1130. # disabled: True
  1131. # delimiter:
  1132. # chars: ':'
  1133. # keys: ['filepath', 'code']
  1134. # Be careful when enabling this engine if you are
  1135. # running a public instance. Do not expose any sensitive
  1136. # information. You can restrict access by configuring a list
  1137. # of access tokens under tokens.
  1138. # - name: locate
  1139. # engine: command
  1140. # command: ['locate', '{{QUERY}}']
  1141. # shortcut: loc
  1142. # tokens: []
  1143. # disabled: True
  1144. # delimiter:
  1145. # chars: ' '
  1146. # keys: ['line']
  1147. # Be careful when enabling this engine if you are
  1148. # running a public instance. Do not expose any sensitive
  1149. # information. You can restrict access by configuring a list
  1150. # of access tokens under tokens.
  1151. # - name: find
  1152. # engine: command
  1153. # command: ['find', '.', '-name', '{{QUERY}}']
  1154. # query_type: path
  1155. # shortcut: fnd
  1156. # tokens: []
  1157. # disabled: True
  1158. # delimiter:
  1159. # chars: ' '
  1160. # keys: ['line']
  1161. # Be careful when enabling this engine if you are
  1162. # running a public instance. Do not expose any sensitive
  1163. # information. You can restrict access by configuring a list
  1164. # of access tokens under tokens.
  1165. # - name: pattern search in files
  1166. # engine: command
  1167. # command: ['fgrep', '{{QUERY}}']
  1168. # shortcut: fgr
  1169. # tokens: []
  1170. # disabled: True
  1171. # delimiter:
  1172. # chars: ' '
  1173. # keys: ['line']
  1174. # Be careful when enabling this engine if you are
  1175. # running a public instance. Do not expose any sensitive
  1176. # information. You can restrict access by configuring a list
  1177. # of access tokens under tokens.
  1178. # - name: regex search in files
  1179. # engine: command
  1180. # command: ['grep', '{{QUERY}}']
  1181. # shortcut: gr
  1182. # tokens: []
  1183. # disabled: True
  1184. # delimiter:
  1185. # chars: ' '
  1186. # keys: ['line']
  1187. locales:
  1188. en : English
  1189. ar : العَرَبِيَّة (Arabic)
  1190. bg : Български (Bulgarian)
  1191. bo : བོད་སྐད་ (Tibetian)
  1192. ca : Català (Catalan)
  1193. cs : Čeština (Czech)
  1194. cy : Cymraeg (Welsh)
  1195. da : Dansk (Danish)
  1196. de : Deutsch (German)
  1197. el_GR : Ελληνικά (Greek_Greece)
  1198. eo : Esperanto (Esperanto)
  1199. es : Español (Spanish)
  1200. et : Eesti (Estonian)
  1201. eu : Euskara (Basque)
  1202. fa_IR : (fārsī) فارسى (Persian)
  1203. fi : Suomi (Finnish)
  1204. fil : Wikang Filipino (Filipino)
  1205. fr : Français (French)
  1206. gl : Galego (Galician)
  1207. he : עברית (Hebrew)
  1208. hr : Hrvatski (Croatian)
  1209. hu : Magyar (Hungarian)
  1210. ia : Interlingua (Interlingua)
  1211. it : Italiano (Italian)
  1212. ja : 日本語 (Japanese)
  1213. lt : Lietuvių (Lithuanian)
  1214. nl : Nederlands (Dutch)
  1215. nl_BE : Vlaams (Dutch_Belgium)
  1216. oc : Lenga D'òc (Occitan)
  1217. pl : Polski (Polish)
  1218. pt : Português (Portuguese)
  1219. pt_BR : Português (Portuguese_Brazil)
  1220. ro : Română (Romanian)
  1221. ru : Русский (Russian)
  1222. sk : Slovenčina (Slovak)
  1223. sl : Slovenski (Slovene)
  1224. sr : српски (Serbian)
  1225. sv : Svenska (Swedish)
  1226. te : తెలుగు (telugu)
  1227. ta : தமிழ் (Tamil)
  1228. tr : Türkçe (Turkish)
  1229. uk : українська мова (Ukrainian)
  1230. vi : tiếng việt (Vietnamese)
  1231. zh : 中文 (Chinese)
  1232. zh_TW : 國語 (Taiwanese Mandarin)
  1233. doi_resolvers :
  1234. oadoi.org : 'https://oadoi.org/'
  1235. doi.org : 'https://doi.org/'
  1236. doai.io : 'https://dissem.in/'
  1237. sci-hub.tw : 'https://sci-hub.tw/'
  1238. default_doi_resolver : 'sci-hub.tw'