settings.yml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746
  1. general:
  2. debug : False # Debug mode, only for development
  3. instance_name : "searx" # displayed name
  4. search:
  5. safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict
  6. autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "wikipedia" - leave blank to turn it off by default
  7. language : "all"
  8. server:
  9. port : 8888
  10. bind_address : "127.0.0.1" # address to listen on
  11. secret_key : "ultrasecretkey" # change this!
  12. base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
  13. image_proxy : False # Proxying image results through searx
  14. http_protocol_version : "1.0" # 1.0 and 1.1 are supported
  15. ui:
  16. static_path : "" # Custom static path - leave it blank if you didn't change
  17. templates_path : "" # Custom templates path - leave it blank if you didn't change
  18. default_theme : oscar # ui theme
  19. default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
  20. # searx supports result proxification using an external service: https://github.com/asciimoo/morty
  21. # uncomment below section if you have running morty proxy
  22. #result_proxy:
  23. # url : http://127.0.0.1:3000/
  24. # key : your_morty_proxy_key
  25. outgoing: # communication with search engines
  26. request_timeout : 2.0 # seconds
  27. useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
  28. pool_connections : 100 # Number of different hosts
  29. pool_maxsize : 10 # Number of simultaneous requests by host
  30. # uncomment below section if you want to use a proxy
  31. # see http://docs.python-requests.org/en/latest/user/advanced/#proxies
  32. # SOCKS proxies are also supported: see http://docs.python-requests.org/en/master/user/advanced/#socks
  33. # proxies :
  34. # http : http://127.0.0.1:8080
  35. # https: http://127.0.0.1:8080
  36. # uncomment below section only if you have more than one network interface
  37. # which can be the source of outgoing search requests
  38. # source_ips:
  39. # - 1.1.1.1
  40. # - 1.1.1.2
  41. engines:
  42. - name : arch linux wiki
  43. engine : archlinux
  44. shortcut : al
  45. - name : archive is
  46. engine : xpath
  47. search_url : https://archive.is/{query}
  48. url_xpath : (//div[@class="TEXT-BLOCK"]/a)/@href
  49. title_xpath : (//div[@class="TEXT-BLOCK"]/a)
  50. content_xpath : //div[@class="TEXT-BLOCK"]/ul/li
  51. categories : general
  52. timeout : 7.0
  53. disabled : True
  54. shortcut : ai
  55. - name : arxiv
  56. engine : arxiv
  57. shortcut : arx
  58. categories : science
  59. timeout : 4.0
  60. - name : base
  61. engine : base
  62. shortcut : bs
  63. - name : wikipedia
  64. engine : wikipedia
  65. shortcut : wp
  66. base_url : 'https://{language}.wikipedia.org/'
  67. - name : bing
  68. engine : bing
  69. shortcut : bi
  70. - name : bing images
  71. engine : bing_images
  72. shortcut : bii
  73. - name : bing news
  74. engine : bing_news
  75. shortcut : bin
  76. - name : bing videos
  77. engine : bing_videos
  78. shortcut : biv
  79. - name : bitbucket
  80. engine : xpath
  81. paging : True
  82. search_url : https://bitbucket.org/repo/all/{pageno}?name={query}
  83. url_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]/@href
  84. title_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]
  85. content_xpath : //article[@class="repo-summary"]/p
  86. categories : it
  87. timeout : 4.0
  88. disabled : True
  89. shortcut : bb
  90. - name : ccc-tv
  91. engine : xpath
  92. paging : False
  93. search_url : https://media.ccc.de/search/?q={query}
  94. url_xpath : //div[@class="caption"]/h3/a/@href
  95. title_xpath : //div[@class="caption"]/h3/a/text()
  96. content_xpath : //div[@class="caption"]/h4/@title
  97. categories : videos
  98. disabled : True
  99. shortcut : c3tv
  100. - name : crossref
  101. engine : json_engine
  102. paging : True
  103. search_url : http://search.crossref.org/dois?q={query}&page={pageno}
  104. url_query : doi
  105. title_query : title
  106. content_query : fullCitation
  107. categories : science
  108. shortcut : cr
  109. - name : currency
  110. engine : currency_convert
  111. categories : general
  112. shortcut : cc
  113. - name : deezer
  114. engine : deezer
  115. shortcut : dz
  116. - name : deviantart
  117. engine : deviantart
  118. shortcut : da
  119. timeout: 3.0
  120. - name : ddg definitions
  121. engine : duckduckgo_definitions
  122. shortcut : ddd
  123. weight : 2
  124. disabled : True
  125. - name : digbt
  126. engine : digbt
  127. shortcut : dbt
  128. timeout : 6.0
  129. disabled : True
  130. - name : digg
  131. engine : digg
  132. shortcut : dg
  133. - name : erowid
  134. engine : xpath
  135. paging : True
  136. first_page_num : 0
  137. page_size : 30
  138. search_url : https://www.erowid.org/search.php?q={query}&s={pageno}
  139. url_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
  140. title_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
  141. content_xpath : //dl[@class="results-list"]/dd[@class="result-details"]
  142. categories : general
  143. shortcut : ew
  144. disabled : True
  145. - name : wikidata
  146. engine : wikidata
  147. shortcut : wd
  148. weight : 2
  149. - name : duckduckgo
  150. engine : duckduckgo
  151. shortcut : ddg
  152. disabled : True
  153. - name : duckduckgo images
  154. engine : duckduckgo_images
  155. shortcut : ddi
  156. timeout: 3.0
  157. disabled : True
  158. - name : etymonline
  159. engine : xpath
  160. paging : True
  161. search_url : http://etymonline.com/?search={query}&p={pageno}
  162. url_xpath : //dt/a[1]/@href
  163. title_xpath : //dt
  164. content_xpath : //dd
  165. suggestion_xpath : //a[@class="crossreference"]
  166. first_page_num : 0
  167. shortcut : et
  168. disabled : True
  169. - name : faroo
  170. engine : faroo
  171. shortcut : fa
  172. disabled : True
  173. - name : 500px
  174. engine : www500px
  175. shortcut : px
  176. - name : 1x
  177. engine : www1x
  178. shortcut : 1x
  179. disabled : True
  180. - name : fdroid
  181. engine : fdroid
  182. shortcut : fd
  183. disabled : True
  184. - name : flickr
  185. categories : images
  186. shortcut : fl
  187. # You can use the engine using the official stable API, but you need an API key
  188. # See : https://www.flickr.com/services/apps/create/
  189. # engine : flickr
  190. # api_key: 'apikey' # required!
  191. # Or you can use the html non-stable engine, activated by default
  192. engine : flickr_noapi
  193. - name : free software directory
  194. engine : mediawiki
  195. shortcut : fsd
  196. categories : it
  197. base_url : https://directory.fsf.org/
  198. number_of_results : 5
  199. # what part of a page matches the query string: title, text, nearmatch
  200. # title - query matches title, text - query matches the text of page, nearmatch - nearmatch in title
  201. search_type : title
  202. timeout : 5.0
  203. disabled : True
  204. - name : frinkiac
  205. engine : frinkiac
  206. shortcut : frk
  207. disabled : True
  208. - name : genius
  209. engine : genius
  210. shortcut : gen
  211. - name : gigablast
  212. engine : gigablast
  213. shortcut : gb
  214. timeout : 3.0
  215. disabled: True
  216. - name : gitlab
  217. engine : json_engine
  218. paging : True
  219. search_url : https://gitlab.com/api/v4/projects?search={query}&page={pageno}
  220. url_query : web_url
  221. title_query : name_with_namespace
  222. content_query : description
  223. page_size : 20
  224. categories : it
  225. shortcut : gl
  226. timeout : 10.0
  227. disabled : True
  228. - name : github
  229. engine : github
  230. shortcut : gh
  231. - name : google
  232. engine : google
  233. shortcut : go
  234. - name : google images
  235. engine : google_images
  236. shortcut : goi
  237. - name : google news
  238. engine : google_news
  239. shortcut : gon
  240. - name : google videos
  241. engine : google_videos
  242. shortcut : gov
  243. - name : google scholar
  244. engine : xpath
  245. paging : True
  246. search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
  247. results_xpath : //div[@class="gs_r"]/div[@class="gs_ri"]
  248. url_xpath : .//h3/a/@href
  249. title_xpath : .//h3/a
  250. content_xpath : .//div[@class="gs_rs"]
  251. suggestion_xpath : //div[@id="gs_qsuggest"]/ul/li
  252. page_size : 10
  253. first_page_num : 0
  254. categories : science
  255. shortcut : gos
  256. - name : google play apps
  257. engine : xpath
  258. search_url : https://play.google.com/store/search?q={query}&c=apps
  259. url_xpath : //a[@class="title"]/@href
  260. title_xpath : //a[@class="title"]
  261. content_xpath : //a[@class="subtitle"]
  262. categories : files
  263. shortcut : gpa
  264. disabled : True
  265. - name : google play movies
  266. engine : xpath
  267. search_url : https://play.google.com/store/search?q={query}&c=movies
  268. url_xpath : //a[@class="title"]/@href
  269. title_xpath : //a[@class="title"]/@title
  270. content_xpath : //a[contains(@class, "subtitle")]
  271. categories : videos
  272. shortcut : gpm
  273. disabled : True
  274. - name : google play music
  275. engine : xpath
  276. search_url : https://play.google.com/store/search?q={query}&c=music
  277. url_xpath : //a[@class="title"]/@href
  278. title_xpath : //a[@class="title"]
  279. content_xpath : //a[@class="subtitle"]
  280. categories : music
  281. shortcut : gps
  282. disabled : True
  283. - name : geektimes
  284. engine : xpath
  285. paging : True
  286. search_url : https://geektimes.ru/search/page{pageno}/?q={query}
  287. url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
  288. title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]
  289. content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")]
  290. categories : it
  291. timeout : 4.0
  292. disabled : True
  293. shortcut : gt
  294. - name : habrahabr
  295. engine : xpath
  296. paging : True
  297. search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
  298. url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
  299. title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]
  300. content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")]
  301. categories : it
  302. timeout : 4.0
  303. disabled : True
  304. shortcut : habr
  305. - name : hoogle
  306. engine : json_engine
  307. paging : True
  308. search_url : https://www.haskell.org/hoogle/?mode=json&hoogle={query}&start={pageno}
  309. results_query : results
  310. url_query : location
  311. title_query : self
  312. content_query : docs
  313. page_size : 20
  314. categories : it
  315. shortcut : ho
  316. - name : ina
  317. engine : ina
  318. shortcut : in
  319. timeout : 6.0
  320. disabled : True
  321. - name: kickass
  322. engine : kickass
  323. shortcut : kc
  324. timeout : 4.0
  325. disabled : True
  326. - name : library genesis
  327. engine : xpath
  328. search_url : http://libgen.io/search.php?req={query}
  329. url_xpath : //a[contains(@href,"bookfi.net")]/@href
  330. title_xpath : //a[contains(@href,"book/")]/text()[1]
  331. content_xpath : //td/a[1][contains(@href,"=author")]/text()
  332. categories : general
  333. timeout : 7.0
  334. disabled : True
  335. shortcut : lg
  336. - name : lobste.rs
  337. engine : xpath
  338. search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
  339. results_xpath : //li[contains(@class, "story")]
  340. url_xpath : .//span[@class="link"]/a/@href
  341. title_xpath : .//span[@class="link"]/a
  342. content_xpath : .//a[@class="domain"]
  343. categories : it
  344. shortcut : lo
  345. - name : microsoft academic
  346. engine : json_engine
  347. paging : True
  348. search_url : https://academic.microsoft.com/api/search/GetEntityResults?query=%40{query}%40&filters=&offset={pageno}&limit=8&correlationId=undefined
  349. results_query : results
  350. url_query : u
  351. title_query : dn
  352. content_query : d
  353. page_size : 8
  354. first_page_num : 0
  355. categories : science
  356. shortcut : ma
  357. - name : mixcloud
  358. engine : mixcloud
  359. shortcut : mc
  360. - name : nyaa
  361. engine : nyaa
  362. shortcut : nt
  363. disabled : True
  364. - name : openairedatasets
  365. engine : json_engine
  366. paging : True
  367. search_url : http://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
  368. results_query : response/results/result
  369. url_query : metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  370. title_query : metadata/oaf:entity/oaf:result/title/$
  371. content_query : metadata/oaf:entity/oaf:result/description/$
  372. categories : science
  373. shortcut : oad
  374. timeout: 5.0
  375. - name : openairepublications
  376. engine : json_engine
  377. paging : True
  378. search_url : http://api.openaire.eu/search/publications?format=json&page={pageno}&size=10&title={query}
  379. results_query : response/results/result
  380. url_query : metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  381. title_query : metadata/oaf:entity/oaf:result/title/$
  382. content_query : metadata/oaf:entity/oaf:result/description/$
  383. categories : science
  384. shortcut : oap
  385. timeout: 5.0
  386. - name : openstreetmap
  387. engine : openstreetmap
  388. shortcut : osm
  389. - name : openrepos
  390. engine : xpath
  391. paging : True
  392. search_url : https://openrepos.net/search/node/{query}?page={pageno}
  393. url_xpath : //li[@class="search-result"]//h3[@class="title"]/a/@href
  394. title_xpath : //li[@class="search-result"]//h3[@class="title"]/a
  395. content_xpath : //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  396. categories : files
  397. timeout : 4.0
  398. disabled : True
  399. shortcut : or
  400. - name : pdbe
  401. engine : pdbe
  402. shortcut : pdb
  403. # Hide obsolete PDB entries.
  404. # Default is not to hide obsolete structures
  405. # hide_obsolete : False
  406. - name : photon
  407. engine : photon
  408. shortcut : ph
  409. - name : piratebay
  410. engine : piratebay
  411. shortcut : tpb
  412. url: https://pirateproxy.red/
  413. timeout : 3.0
  414. - name : pubmed
  415. engine : pubmed
  416. shortcut : pub
  417. categories: science
  418. timeout : 3.0
  419. - name : qwant
  420. engine : qwant
  421. shortcut : qw
  422. categories : general
  423. disabled : True
  424. - name : qwant images
  425. engine : qwant
  426. shortcut : qwi
  427. categories : images
  428. - name : qwant news
  429. engine : qwant
  430. shortcut : qwn
  431. categories : news
  432. - name : qwant social
  433. engine : qwant
  434. shortcut : qws
  435. categories : social media
  436. - name : reddit
  437. engine : reddit
  438. shortcut : re
  439. page_size : 25
  440. timeout : 10.0
  441. disabled : True
  442. - name : scanr structures
  443. shortcut: scs
  444. engine : scanr_structures
  445. disabled : True
  446. - name : soundcloud
  447. engine : soundcloud
  448. shortcut : sc
  449. - name : stackoverflow
  450. engine : stackoverflow
  451. shortcut : st
  452. - name : searchcode doc
  453. engine : searchcode_doc
  454. shortcut : scd
  455. - name : searchcode code
  456. engine : searchcode_code
  457. shortcut : scc
  458. disabled : True
  459. - name : framalibre
  460. engine : framalibre
  461. shortcut : frl
  462. disabled : True
  463. # - name : searx
  464. # engine : searx_engine
  465. # shortcut : se
  466. # instance_urls :
  467. # - http://127.0.0.1:8888/
  468. # - ...
  469. # disabled : True
  470. - name : semantic scholar
  471. engine : xpath
  472. paging : True
  473. search_url : https://www.semanticscholar.org/search?q={query}&sort=relevance&page={pageno}&ae=false
  474. results_xpath : //article
  475. url_xpath : .//div[@class="search-result-title"]/a/@href
  476. title_xpath : .//div[@class="search-result-title"]/a
  477. content_xpath : .//div[@class="search-result-abstract"]
  478. shortcut : se
  479. categories : science
  480. - name : spotify
  481. engine : spotify
  482. shortcut : stf
  483. - name : subtitleseeker
  484. engine : subtitleseeker
  485. shortcut : ss
  486. # The language is an option. You can put any language written in english
  487. # Examples : English, French, German, Hungarian, Chinese...
  488. # language : English
  489. - name : startpage
  490. engine : startpage
  491. shortcut : sp
  492. timeout : 6.0
  493. disabled : True
  494. - name : ixquick
  495. engine : startpage
  496. base_url : 'https://www.ixquick.eu/'
  497. search_url : 'https://www.ixquick.eu/do/search'
  498. shortcut : iq
  499. timeout : 6.0
  500. disabled : True
  501. - name : swisscows
  502. engine : swisscows
  503. shortcut : sw
  504. disabled : True
  505. - name : tokyotoshokan
  506. engine : tokyotoshokan
  507. shortcut : tt
  508. timeout : 6.0
  509. disabled : True
  510. - name : torrentz
  511. engine : torrentz
  512. shortcut : tor
  513. url: https://torrentz2.eu/
  514. timeout : 3.0
  515. - name : twitter
  516. engine : twitter
  517. shortcut : tw
  518. # maybe in a fun category
  519. # - name : uncyclopedia
  520. # engine : mediawiki
  521. # shortcut : unc
  522. # base_url : https://uncyclopedia.wikia.com/
  523. # number_of_results : 5
  524. # tmp suspended - too slow, too many errors
  525. # - name : urbandictionary
  526. # engine : xpath
  527. # search_url : http://www.urbandictionary.com/define.php?term={query}
  528. # url_xpath : //*[@class="word"]/@href
  529. # title_xpath : //*[@class="def-header"]
  530. # content_xpath : //*[@class="meaning"]
  531. # shortcut : ud
  532. - name : yahoo
  533. engine : yahoo
  534. shortcut : yh
  535. disabled : True
  536. - name : yandex
  537. engine : yandex
  538. shortcut : yn
  539. disabled : True
  540. - name : yahoo news
  541. engine : yahoo_news
  542. shortcut : yhn
  543. - name : youtube
  544. shortcut : yt
  545. # You can use the engine using the official stable API, but you need an API key
  546. # See : https://console.developers.google.com/project
  547. # engine : youtube_api
  548. # api_key: 'apikey' # required!
  549. # Or you can use the html non-stable engine, activated by default
  550. engine : youtube_noapi
  551. - name : dailymotion
  552. engine : dailymotion
  553. shortcut : dm
  554. - name : vimeo
  555. engine : vimeo
  556. shortcut : vm
  557. - name : wolframalpha
  558. shortcut : wa
  559. # You can use the engine using the official stable API, but you need an API key
  560. # See : http://products.wolframalpha.com/api/
  561. # engine : wolframalpha_api
  562. # api_key: '' # required!
  563. engine : wolframalpha_noapi
  564. timeout: 6.0
  565. categories : science
  566. - name : seedpeer
  567. engine : seedpeer
  568. shortcut: speu
  569. categories: files, music, videos
  570. disabled: True
  571. - name : dictzone
  572. engine : dictzone
  573. shortcut : dc
  574. - name : mymemory translated
  575. engine : translated
  576. shortcut : tl
  577. timeout : 5.0
  578. disabled : True
  579. # You can use without an API key, but you are limited to 1000 words/day
  580. # See : http://mymemory.translated.net/doc/usagelimits.php
  581. # api_key : ''
  582. - name : voat
  583. engine: xpath
  584. shortcut: vo
  585. categories: social media
  586. search_url : https://searchvoat.co/?t={query}
  587. url_xpath : //div[@class="entry"]/p/a[@class="title"]/@href
  588. title_xpath : //div[@class="entry"]/p/a[@class="title"]
  589. content_xpath : //div[@class="entry"]/p/span[@class="domain"]
  590. timeout : 10.0
  591. disabled : True
  592. - name : 1337x
  593. engine : 1337x
  594. shortcut : 1337x
  595. disabled : True
  596. # - name : yacy
  597. # engine : yacy
  598. # shortcut : ya
  599. # base_url : 'http://localhost:8090'
  600. # number_of_results : 5
  601. # timeout : 3.0
  602. # Doku engine lets you access to any Doku wiki instance:
  603. # A public one or a privete/corporate one.
  604. # - name : ubuntuwiki
  605. # engine : doku
  606. # shortcut : uw
  607. # base_url : 'http://doc.ubuntu-fr.org'
  608. locales:
  609. en : English
  610. ar : العَرَبِيَّة (Arabic)
  611. bg : Български (Bulgarian)
  612. cs : Čeština (Czech)
  613. da : Dansk (Danish)
  614. de : Deutsch (German)
  615. el_GR : Ελληνικά (Greek_Greece)
  616. eo : Esperanto (Esperanto)
  617. es : Español (Spanish)
  618. fi : Suomi (Finnish)
  619. fr : Français (French)
  620. he : עברית (Hebrew)
  621. hr : Hrvatski (Croatian)
  622. hu : Magyar (Hungarian)
  623. it : Italiano (Italian)
  624. ja : 日本語 (Japanese)
  625. nl : Nederlands (Dutch)
  626. pt : Português (Portuguese)
  627. pt_BR : Português (Portuguese_Brazil)
  628. ro : Română (Romanian)
  629. ru : Русский (Russian)
  630. sk : Slovenčina (Slovak)
  631. sl : Slovenski (Slovene)
  632. sr : српски (Serbian)
  633. sv : Svenska (Swedish)
  634. tr : Türkçe (Turkish)
  635. uk : українська мова (Ukrainian)
  636. zh : 中文 (Chinese)
  637. doi_resolvers :
  638. oadoi.org : 'https://oadoi.org/'
  639. doi.org : 'https://doi.org/'
  640. doai.io : 'http://doai.io/'
  641. default_doi_resolver : 'oadoi.org'