settings.yml 12 KB

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