settings.yml 12 KB

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