settings.yml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585
  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. ui:
  15. themes_path : "" # Custom ui themes path - leave it blank if you didn't change
  16. default_theme : oscar # ui theme
  17. default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
  18. # searx supports result proxification using an external service: https://github.com/asciimoo/morty
  19. # uncomment below section if you have running morty proxy
  20. #result_proxy:
  21. # url : http://127.0.0.1:3000/
  22. # key : your_morty_proxy_key
  23. outgoing: # communication with search engines
  24. request_timeout : 2.0 # seconds
  25. useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
  26. pool_connections : 100 # Number of different hosts
  27. pool_maxsize : 10 # Number of simultaneous requests by host
  28. # uncomment below section if you want to use a proxy
  29. # see http://docs.python-requests.org/en/latest/user/advanced/#proxies
  30. # SOCKS proxies are also supported: see http://docs.python-requests.org/en/master/user/advanced/#socks
  31. # proxies :
  32. # http : http://127.0.0.1:8080
  33. # https: http://127.0.0.1:8080
  34. # uncomment below section only if you have more than one network interface
  35. # which can be the source of outgoing search requests
  36. # source_ips:
  37. # - 1.1.1.1
  38. # - 1.1.1.2
  39. engines:
  40. - name : arch linux wiki
  41. engine : archlinux
  42. shortcut : al
  43. - name : archive is
  44. engine : xpath
  45. search_url : https://archive.is/{query}
  46. url_xpath : (//div[@class="TEXT-BLOCK"]/a)/@href
  47. title_xpath : (//div[@class="TEXT-BLOCK"]/a)
  48. content_xpath : //div[@class="TEXT-BLOCK"]/ul/li
  49. categories : general
  50. timeout : 7.0
  51. disabled : True
  52. shortcut : ai
  53. - name : base
  54. engine : base
  55. shortcut : bs
  56. - name : wikipedia
  57. engine : wikipedia
  58. shortcut : wp
  59. base_url : 'https://{language}.wikipedia.org/'
  60. - name : bing
  61. engine : bing
  62. shortcut : bi
  63. - name : bing images
  64. engine : bing_images
  65. shortcut : bii
  66. - name : bing news
  67. engine : bing_news
  68. shortcut : bin
  69. - name : bitbucket
  70. engine : xpath
  71. paging : True
  72. search_url : https://bitbucket.org/repo/all/{pageno}?name={query}
  73. url_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]/@href
  74. title_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]
  75. content_xpath : //article[@class="repo-summary"]/p
  76. categories : it
  77. timeout : 4.0
  78. disabled : True
  79. shortcut : bb
  80. - name : crossref
  81. engine : json_engine
  82. paging : True
  83. search_url : http://search.crossref.org/dois?q={query}&page={pageno}
  84. url_query : doi
  85. title_query : title
  86. content_query : fullCitation
  87. categories : science
  88. shortcut : cr
  89. - name : currency
  90. engine : currency_convert
  91. categories : general
  92. shortcut : cc
  93. - name : deezer
  94. engine : deezer
  95. shortcut : dz
  96. - name : deviantart
  97. engine : deviantart
  98. shortcut : da
  99. timeout: 3.0
  100. - name : ddg definitions
  101. engine : duckduckgo_definitions
  102. shortcut : ddd
  103. weight : 2
  104. disabled : True
  105. - name : digbt
  106. engine : digbt
  107. shortcut : dbt
  108. timeout : 6.0
  109. disabled : True
  110. - name : digg
  111. engine : digg
  112. shortcut : dg
  113. - name : erowid
  114. engine : xpath
  115. paging : True
  116. first_page_num : 0
  117. page_size : 30
  118. search_url : https://www.erowid.org/search.php?q={query}&s={pageno}
  119. url_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
  120. title_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
  121. content_xpath : //dl[@class="results-list"]/dd[@class="result-details"]
  122. categories : general
  123. shortcut : ew
  124. disabled : True
  125. - name : wikidata
  126. engine : wikidata
  127. shortcut : wd
  128. weight : 2
  129. - name : duckduckgo
  130. engine : duckduckgo
  131. shortcut : ddg
  132. disabled : True
  133. # api-key required: http://www.faroo.com/hp/api/api.html#key
  134. # - name : faroo
  135. # engine : faroo
  136. # shortcut : fa
  137. # api_key : 'apikey' # required!
  138. - name : 500px
  139. engine : www500px
  140. shortcut : px
  141. - name : 1x
  142. engine : www1x
  143. shortcut : 1x
  144. disabled : True
  145. - name : fdroid
  146. engine : fdroid
  147. shortcut : fd
  148. disabled : True
  149. - name : flickr
  150. categories : images
  151. shortcut : fl
  152. # You can use the engine using the official stable API, but you need an API key
  153. # See : https://www.flickr.com/services/apps/create/
  154. # engine : flickr
  155. # api_key: 'apikey' # required!
  156. # Or you can use the html non-stable engine, activated by default
  157. engine : flickr_noapi
  158. - name : frinkiac
  159. engine : frinkiac
  160. shortcut : frk
  161. disabled : True
  162. - name : gigablast
  163. engine : gigablast
  164. shortcut : gb
  165. disabled: True
  166. - name : gitlab
  167. engine : xpath
  168. paging : True
  169. search_url : https://gitlab.com/search?page={pageno}&search={query}
  170. url_xpath : //li[@class="project-row"]//a[@class="project"]/@href
  171. title_xpath : //li[@class="project-row"]//span[contains(@class, "project-full-name")]
  172. content_xpath : //li[@class="project-row"]//div[@class="description"]/p
  173. categories : it
  174. shortcut : gl
  175. timeout : 5.0
  176. disabled : True
  177. - name : github
  178. engine : github
  179. shortcut : gh
  180. - name : google
  181. engine : google
  182. shortcut : go
  183. - name : google images
  184. engine : google_images
  185. shortcut : goi
  186. - name : google news
  187. engine : google_news
  188. shortcut : gon
  189. - name : google scholar
  190. engine : xpath
  191. paging : True
  192. search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
  193. results_xpath : //div[@class="gs_r"]/div[@class="gs_ri"]
  194. url_xpath : .//h3/a/@href
  195. title_xpath : .//h3/a
  196. content_xpath : .//div[@class="gs_rs"]
  197. suggestion_xpath : //div[@id="gs_qsuggest"]/ul/li
  198. page_size : 10
  199. first_page_num : 0
  200. categories : science
  201. shortcut : gos
  202. - name : google play apps
  203. engine : xpath
  204. search_url : https://play.google.com/store/search?q={query}&c=apps
  205. url_xpath : //a[@class="title"]/@href
  206. title_xpath : //a[@class="title"]
  207. content_xpath : //a[@class="subtitle"]
  208. categories : files
  209. shortcut : gpa
  210. disabled : True
  211. - name : google play movies
  212. engine : xpath
  213. search_url : https://play.google.com/store/search?q={query}&c=movies
  214. url_xpath : //a[@class="title"]/@href
  215. title_xpath : //a[@class="title"]
  216. content_xpath : //a[@class="subtitle"]
  217. categories : videos
  218. shortcut : gpm
  219. disabled : True
  220. - name : google play music
  221. engine : xpath
  222. search_url : https://play.google.com/store/search?q={query}&c=music
  223. url_xpath : //a[@class="title"]/@href
  224. title_xpath : //a[@class="title"]
  225. content_xpath : //a[@class="subtitle"]
  226. categories : music
  227. shortcut : gps
  228. disabled : True
  229. - name : geektimes
  230. engine : xpath
  231. paging : True
  232. search_url : https://geektimes.ru/search/page{pageno}/?q={query}
  233. url_xpath : //div[@class="search_results"]//a[@class="post__title_link"]/@href
  234. title_xpath : //div[@class="search_results"]//a[@class="post__title_link"]
  235. content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
  236. categories : it
  237. timeout : 4.0
  238. disabled : True
  239. shortcut : gt
  240. - name : habrahabr
  241. engine : xpath
  242. paging : True
  243. search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
  244. url_xpath : //div[@class="search_results"]//a[@class="post_title"]/@href
  245. title_xpath : //div[@class="search_results"]//a[@class="post_title"]
  246. content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
  247. categories : it
  248. timeout : 4.0
  249. disabled : True
  250. shortcut : habr
  251. - name : hoogle
  252. engine : json_engine
  253. paging : True
  254. search_url : https://www.haskell.org/hoogle/?mode=json&hoogle={query}&start={pageno}
  255. results_query : results
  256. url_query : location
  257. title_query : self
  258. content_query : docs
  259. page_size : 20
  260. categories : it
  261. shortcut : ho
  262. - name : ina
  263. engine : ina
  264. shortcut : in
  265. timeout : 6.0
  266. disabled : True
  267. - name: kickass
  268. engine : kickass
  269. shortcut : kc
  270. timeout : 4.0
  271. disabled : True
  272. - name : lobste.rs
  273. engine : xpath
  274. search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
  275. results_xpath : //li[contains(@class, "story")]
  276. url_xpath : .//span[@class="link"]/a/@href
  277. title_xpath : .//span[@class="link"]/a
  278. content_xpath : .//a[@class="domain"]
  279. categories : it
  280. shortcut : lo
  281. - name : microsoft academic
  282. engine : json_engine
  283. paging : True
  284. search_url : https://academic.microsoft.com/api/search/GetEntityResults?query=%40{query}%40&filters=&offset={pageno}&limit=8&correlationId=undefined
  285. results_query : results
  286. url_query : u
  287. title_query : dn
  288. content_query : d
  289. page_size : 8
  290. first_page_num : 0
  291. categories : science
  292. shortcut : ma
  293. - name : mixcloud
  294. engine : mixcloud
  295. shortcut : mc
  296. - name : nyaa
  297. engine : nyaa
  298. shortcut : nt
  299. disabled : True
  300. - name : openstreetmap
  301. engine : openstreetmap
  302. shortcut : osm
  303. - name : openrepos
  304. engine : xpath
  305. paging : True
  306. search_url : https://openrepos.net/search/node/{query}?page={pageno}
  307. url_xpath : //li[@class="search-result"]//h3[@class="title"]/a/@href
  308. title_xpath : //li[@class="search-result"]//h3[@class="title"]/a
  309. content_xpath : //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  310. categories : files
  311. timeout : 4.0
  312. disabled : True
  313. shortcut : or
  314. - name : pdbe
  315. engine : pdbe
  316. shortcut : pdb
  317. # Hide obsolete PDB entries.
  318. # Default is not to hide obsolete structures
  319. # hide_obsolete : False
  320. - name : photon
  321. engine : photon
  322. shortcut : ph
  323. - name : piratebay
  324. engine : piratebay
  325. shortcut : tpb
  326. url: https://pirateproxy.red/
  327. timeout : 3.0
  328. - name : qwant
  329. engine : qwant
  330. shortcut : qw
  331. categories : general
  332. disabled : True
  333. - name : qwant images
  334. engine : qwant
  335. shortcut : qwi
  336. categories : images
  337. - name : qwant news
  338. engine : qwant
  339. shortcut : qwn
  340. categories : news
  341. - name : qwant social
  342. engine : qwant
  343. shortcut : qws
  344. categories : social media
  345. - name : reddit
  346. engine : reddit
  347. shortcut : re
  348. page_size : 25
  349. timeout : 10.0
  350. disabled : True
  351. - name : scanr structures
  352. shortcut: scs
  353. engine : scanr_structures
  354. disabled : True
  355. - name : soundcloud
  356. engine : soundcloud
  357. shortcut : sc
  358. - name : stackoverflow
  359. engine : stackoverflow
  360. shortcut : st
  361. - name : searchcode doc
  362. engine : searchcode_doc
  363. shortcut : scd
  364. - name : searchcode code
  365. engine : searchcode_code
  366. shortcut : scc
  367. disabled : True
  368. - name : spotify
  369. engine : spotify
  370. shortcut : stf
  371. - name : subtitleseeker
  372. engine : subtitleseeker
  373. shortcut : ss
  374. # The language is an option. You can put any language written in english
  375. # Examples : English, French, German, Hungarian, Chinese...
  376. # language : English
  377. - name : startpage
  378. engine : startpage
  379. shortcut : sp
  380. timeout : 6.0
  381. disabled : True
  382. - name : ixquick
  383. engine : startpage
  384. base_url : 'https://www.ixquick.eu/'
  385. search_url : 'https://www.ixquick.eu/do/search'
  386. shortcut : iq
  387. timeout : 6.0
  388. disabled : True
  389. - name : swisscows
  390. engine : swisscows
  391. shortcut : sw
  392. disabled : True
  393. - name : tokyotoshokan
  394. engine : tokyotoshokan
  395. shortcut : tt
  396. timeout : 6.0
  397. disabled : True
  398. - name : twitter
  399. engine : twitter
  400. shortcut : tw
  401. # maybe in a fun category
  402. # - name : uncyclopedia
  403. # engine : mediawiki
  404. # shortcut : unc
  405. # base_url : https://uncyclopedia.wikia.com/
  406. # number_of_results : 5
  407. # tmp suspended - too slow, too many errors
  408. # - name : urbandictionary
  409. # engine : xpath
  410. # search_url : http://www.urbandictionary.com/define.php?term={query}
  411. # url_xpath : //*[@class="word"]/@href
  412. # title_xpath : //*[@class="def-header"]
  413. # content_xpath : //*[@class="meaning"]
  414. # shortcut : ud
  415. - name : yahoo
  416. engine : yahoo
  417. shortcut : yh
  418. - name : yandex
  419. engine : yandex
  420. shortcut : yn
  421. disabled : True
  422. - name : yahoo news
  423. engine : yahoo_news
  424. shortcut : yhn
  425. - name : youtube
  426. shortcut : yt
  427. # You can use the engine using the official stable API, but you need an API key
  428. # See : https://console.developers.google.com/project
  429. # engine : youtube_api
  430. # api_key: 'apikey' # required!
  431. # Or you can use the html non-stable engine, activated by default
  432. engine : youtube_noapi
  433. - name : dailymotion
  434. engine : dailymotion
  435. shortcut : dm
  436. - name : vimeo
  437. engine : vimeo
  438. shortcut : vm
  439. - name : wolframalpha
  440. shortcut : wa
  441. # You can use the engine using the official stable API, but you need an API key
  442. # See : http://products.wolframalpha.com/api/
  443. # engine : wolframalpha_api
  444. # api_key: '' # required!
  445. engine : wolframalpha_noapi
  446. timeout: 6.0
  447. categories : science
  448. - name : seedpeer
  449. engine : seedpeer
  450. shortcut: speu
  451. categories: files, music, videos
  452. disabled: True
  453. - name : dictzone
  454. engine : dictzone
  455. shortcut : dc
  456. - name : mymemory translated
  457. engine : translated
  458. shortcut : tl
  459. timeout : 5.0
  460. disabled : True
  461. # You can use without an API key, but you are limited to 1000 words/day
  462. # See : http://mymemory.translated.net/doc/usagelimits.php
  463. # api_key : ''
  464. #The blekko technology and team have joined IBM Watson! -> https://blekko.com/
  465. # - name : blekko images
  466. # engine : blekko_images
  467. # locale : en-US
  468. # shortcut : bli
  469. # - name : yacy
  470. # engine : yacy
  471. # shortcut : ya
  472. # base_url : 'http://localhost:8090'
  473. # number_of_results : 5
  474. # timeout : 3.0
  475. # Doku engine lets you access to any Doku wiki instance:
  476. # A public one or a privete/corporate one.
  477. # - name : ubuntuwiki
  478. # engine : doku
  479. # shortcut : uw
  480. # base_url : 'http://doc.ubuntu-fr.org'
  481. locales:
  482. en : English
  483. bg : Български (Bulgarian)
  484. de : Deutsch (German)
  485. el_GR : Ελληνικά (Greek_Greece)
  486. eo : Esperanto (Esperanto)
  487. es : Español (Spanish)
  488. fr : Français (French)
  489. he : עברית (Hebrew)
  490. hu : Magyar (Hungarian)
  491. it : Italiano (Italian)
  492. ja : 日本語 (Japanese)
  493. nl : Nederlands (Dutch)
  494. pt : Português (Portuguese)
  495. pt_BR : Português (Portuguese_Brazil)
  496. ro : Română (Romanian)
  497. ru : Русский (Russian)
  498. tr : Türkçe (Turkish)
  499. zh : 中文 (Chinese)