settings.yml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  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_link"]/@href
  201. title_xpath : //div[@class="search_results"]//a[@class="post__title_link"]
  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 : ina
  219. engine : ina
  220. shortcut : in
  221. timeout : 6.0
  222. disabled : True
  223. - name : mixcloud
  224. engine : mixcloud
  225. shortcut : mc
  226. - name : nyaa
  227. engine : nyaa
  228. shortcut : nt
  229. disabled : True
  230. - name : openstreetmap
  231. engine : openstreetmap
  232. shortcut : osm
  233. - name : photon
  234. engine : photon
  235. shortcut : ph
  236. - name : piratebay
  237. engine : piratebay
  238. shortcut : tpb
  239. disabled : True
  240. - name : qwant
  241. engine : qwant
  242. shortcut : qw
  243. categories : general
  244. disabled : True
  245. - name : qwant images
  246. engine : qwant
  247. shortcut : qwi
  248. categories : images
  249. - name : qwant news
  250. engine : qwant
  251. shortcut : qwn
  252. categories : news
  253. - name : qwant social
  254. engine : qwant
  255. shortcut : qws
  256. categories : social media
  257. - name : reddit
  258. engine : reddit
  259. shortcut : re
  260. page_size : 25
  261. timeout : 10.0
  262. disabled : True
  263. - name : kickass
  264. engine : kickass
  265. shortcut : ka
  266. - name : scanr_structures
  267. shortcut: scs
  268. engine : scanr_structures
  269. disabled : True
  270. - name : soundcloud
  271. engine : soundcloud
  272. shortcut : sc
  273. - name : stackoverflow
  274. engine : stackoverflow
  275. shortcut : st
  276. - name : searchcode doc
  277. engine : searchcode_doc
  278. shortcut : scd
  279. - name : searchcode code
  280. engine : searchcode_code
  281. shortcut : scc
  282. disabled : True
  283. - name : spotify
  284. engine : spotify
  285. shortcut : stf
  286. - name : subtitleseeker
  287. engine : subtitleseeker
  288. shortcut : ss
  289. # The language is an option. You can put any language written in english
  290. # Examples : English, French, German, Hungarian, Chinese...
  291. # language : English
  292. - name : startpage
  293. engine : startpage
  294. shortcut : sp
  295. timeout : 6.0
  296. disabled : True
  297. - name : ixquick
  298. engine : startpage
  299. base_url : 'https://www.ixquick.com/'
  300. search_url : 'https://www.ixquick.com/do/search'
  301. shortcut : iq
  302. timeout : 6.0
  303. disabled : True
  304. - name : swisscows
  305. engine : swisscows
  306. shortcut : sw
  307. disabled : True
  308. - name : tokyotoshokan
  309. engine : tokyotoshokan
  310. shortcut : tt
  311. timeout : 6.0
  312. disabled : True
  313. - name : torrentz
  314. engine : torrentz
  315. timeout : 5.0
  316. shortcut : to
  317. - name : twitter
  318. engine : twitter
  319. shortcut : tw
  320. # maybe in a fun category
  321. # - name : uncyclopedia
  322. # engine : mediawiki
  323. # shortcut : unc
  324. # base_url : https://uncyclopedia.wikia.com/
  325. # number_of_results : 5
  326. # tmp suspended - too slow, too many errors
  327. # - name : urbandictionary
  328. # engine : xpath
  329. # search_url : http://www.urbandictionary.com/define.php?term={query}
  330. # url_xpath : //div[@class="word"]//a/@href
  331. # title_xpath : //div[@class="word"]//a
  332. # content_xpath : //div[@class="definition"]
  333. # shortcut : ud
  334. - name : yahoo
  335. engine : yahoo
  336. shortcut : yh
  337. - name : yandex
  338. engine : yandex
  339. shortcut : yn
  340. disabled : True
  341. - name : yahoo news
  342. engine : yahoo_news
  343. shortcut : yhn
  344. - name : youtube
  345. shortcut : yt
  346. # You can use the engine using the official stable API, but you need an API key
  347. # See : https://console.developers.google.com/project
  348. # engine : youtube_api
  349. # api_key: 'apikey' # required!
  350. # Or you can use the html non-stable engine, activated by default
  351. engine : youtube_noapi
  352. - name : dailymotion
  353. engine : dailymotion
  354. shortcut : dm
  355. - name : vimeo
  356. engine : vimeo
  357. shortcut : vm
  358. - name : wolframalpha
  359. shortcut : wa
  360. # You can use the engine using the official stable API, but you need an API key
  361. # See : http://products.wolframalpha.com/api/
  362. # engine : wolframalpha_api
  363. # api_key: '' # required!
  364. engine : wolframalpha_noapi
  365. timeout: 6.0
  366. categories : science
  367. #The blekko technology and team have joined IBM Watson! -> https://blekko.com/
  368. # - name : blekko images
  369. # engine : blekko_images
  370. # locale : en-US
  371. # shortcut : bli
  372. # - name : yacy
  373. # engine : yacy
  374. # shortcut : ya
  375. # base_url : 'http://localhost:8090'
  376. # number_of_results : 5
  377. # timeout : 3.0
  378. # Doku engine lets you access to any Doku wiki instance:
  379. # A public one or a privete/corporate one.
  380. # - name : ubuntuwiki
  381. # engine : doku
  382. # shortcut : uw
  383. # base_url : 'http://doc.ubuntu-fr.org'
  384. locales:
  385. en : English
  386. bg : Български (Bulgarian)
  387. de : Deutsch (German)
  388. el_GR : Ελληνικά (Greek_Greece)
  389. eo : Esperanto (Esperanto)
  390. es : Español (Spanish)
  391. fr : Français (French)
  392. he : עברית (Hebrew)
  393. hu : Magyar (Hungarian)
  394. it : Italiano (Italian)
  395. ja : 日本語 (Japanese)
  396. nl : Nederlands (Dutch)
  397. pt : Português (Portuguese)
  398. pt_BR : Português (Portuguese_Brazil)
  399. ro : Română (Romanian)
  400. ru : Русский (Russian)
  401. tr : Türkçe (Turkish)
  402. zh : 中文 (Chinese)