settings.yml 12 KB

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