settings.yml 15KB

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