settings.yml 14 KB

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