settings.yml 13KB

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