settings.yml 19 KB

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