settings.yml 38 KB

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