settings.yml 13 KB

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