settings.yml 11 KB

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