settings.yml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538
  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 : hoogle
  244. engine : json_engine
  245. paging : True
  246. search_url : https://www.haskell.org/hoogle/?mode=json&hoogle={query}&start={pageno}
  247. results_query : results
  248. url_query : location
  249. title_query : self
  250. content_query : docs
  251. page_size : 20
  252. categories : it
  253. shortcut : ho
  254. - name : ina
  255. engine : ina
  256. shortcut : in
  257. timeout : 6.0
  258. disabled : True
  259. - name : microsoft academic
  260. engine : json_engine
  261. paging : True
  262. search_url : https://academic.microsoft.com/api/search/GetEntityResults?query=%40{query}%40&filters=&offset={pageno}&limit=8&correlationId=undefined
  263. results_query : results
  264. url_query : u
  265. title_query : dn
  266. content_query : d
  267. page_size : 8
  268. first_page_num : 0
  269. categories : science
  270. shortcut : ma
  271. - name : mixcloud
  272. engine : mixcloud
  273. shortcut : mc
  274. - name : nyaa
  275. engine : nyaa
  276. shortcut : nt
  277. disabled : True
  278. - name : openstreetmap
  279. engine : openstreetmap
  280. shortcut : osm
  281. - name : openrepos
  282. engine : xpath
  283. paging : True
  284. search_url : https://openrepos.net/search/node/{query}?page={pageno}
  285. url_xpath : //li[@class="search-result"]//h3[@class="title"]/a/@href
  286. title_xpath : //li[@class="search-result"]//h3[@class="title"]/a
  287. content_xpath : //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  288. categories : files
  289. timeout : 4.0
  290. disabled : True
  291. shortcut : or
  292. - name : photon
  293. engine : photon
  294. shortcut : ph
  295. - name : piratebay
  296. engine : piratebay
  297. shortcut : tpb
  298. disabled : True
  299. - name : qwant
  300. engine : qwant
  301. shortcut : qw
  302. categories : general
  303. disabled : True
  304. - name : qwant images
  305. engine : qwant
  306. shortcut : qwi
  307. categories : images
  308. - name : qwant news
  309. engine : qwant
  310. shortcut : qwn
  311. categories : news
  312. - name : qwant social
  313. engine : qwant
  314. shortcut : qws
  315. categories : social media
  316. - name : reddit
  317. engine : reddit
  318. shortcut : re
  319. page_size : 25
  320. timeout : 10.0
  321. disabled : True
  322. - name : scanr_structures
  323. shortcut: scs
  324. engine : scanr_structures
  325. disabled : True
  326. - name : soundcloud
  327. engine : soundcloud
  328. shortcut : sc
  329. - name : stackoverflow
  330. engine : stackoverflow
  331. shortcut : st
  332. - name : searchcode doc
  333. engine : searchcode_doc
  334. shortcut : scd
  335. - name : searchcode code
  336. engine : searchcode_code
  337. shortcut : scc
  338. disabled : True
  339. - name : spotify
  340. engine : spotify
  341. shortcut : stf
  342. - name : subtitleseeker
  343. engine : subtitleseeker
  344. shortcut : ss
  345. # The language is an option. You can put any language written in english
  346. # Examples : English, French, German, Hungarian, Chinese...
  347. # language : English
  348. - name : startpage
  349. engine : startpage
  350. shortcut : sp
  351. timeout : 6.0
  352. disabled : True
  353. - name : ixquick
  354. engine : startpage
  355. base_url : 'https://www.ixquick.com/'
  356. search_url : 'https://www.ixquick.com/do/search'
  357. shortcut : iq
  358. timeout : 6.0
  359. disabled : True
  360. - name : swisscows
  361. engine : swisscows
  362. shortcut : sw
  363. disabled : True
  364. - name : tokyotoshokan
  365. engine : tokyotoshokan
  366. shortcut : tt
  367. timeout : 6.0
  368. disabled : True
  369. - name : torrentz
  370. engine : torrentz
  371. timeout : 5.0
  372. shortcut : to
  373. - name : twitter
  374. engine : twitter
  375. shortcut : tw
  376. # maybe in a fun category
  377. # - name : uncyclopedia
  378. # engine : mediawiki
  379. # shortcut : unc
  380. # base_url : https://uncyclopedia.wikia.com/
  381. # number_of_results : 5
  382. # tmp suspended - too slow, too many errors
  383. # - name : urbandictionary
  384. # engine : xpath
  385. # search_url : http://www.urbandictionary.com/define.php?term={query}
  386. # url_xpath : //div[@class="word"]//a/@href
  387. # title_xpath : //div[@class="word"]//a
  388. # content_xpath : //div[@class="definition"]
  389. # shortcut : ud
  390. - name : yahoo
  391. engine : yahoo
  392. shortcut : yh
  393. - name : yandex
  394. engine : yandex
  395. shortcut : yn
  396. disabled : True
  397. - name : yahoo news
  398. engine : yahoo_news
  399. shortcut : yhn
  400. - name : youtube
  401. shortcut : yt
  402. # You can use the engine using the official stable API, but you need an API key
  403. # See : https://console.developers.google.com/project
  404. # engine : youtube_api
  405. # api_key: 'apikey' # required!
  406. # Or you can use the html non-stable engine, activated by default
  407. engine : youtube_noapi
  408. - name : dailymotion
  409. engine : dailymotion
  410. shortcut : dm
  411. - name : vimeo
  412. engine : vimeo
  413. shortcut : vm
  414. - name : wolframalpha
  415. shortcut : wa
  416. # You can use the engine using the official stable API, but you need an API key
  417. # See : http://products.wolframalpha.com/api/
  418. # engine : wolframalpha_api
  419. # api_key: '' # required!
  420. engine : wolframalpha_noapi
  421. timeout: 6.0
  422. categories : science
  423. #The blekko technology and team have joined IBM Watson! -> https://blekko.com/
  424. # - name : blekko images
  425. # engine : blekko_images
  426. # locale : en-US
  427. # shortcut : bli
  428. # - name : yacy
  429. # engine : yacy
  430. # shortcut : ya
  431. # base_url : 'http://localhost:8090'
  432. # number_of_results : 5
  433. # timeout : 3.0
  434. # Doku engine lets you access to any Doku wiki instance:
  435. # A public one or a privete/corporate one.
  436. # - name : ubuntuwiki
  437. # engine : doku
  438. # shortcut : uw
  439. # base_url : 'http://doc.ubuntu-fr.org'
  440. locales:
  441. en : English
  442. bg : Български (Bulgarian)
  443. de : Deutsch (German)
  444. el_GR : Ελληνικά (Greek_Greece)
  445. eo : Esperanto (Esperanto)
  446. es : Español (Spanish)
  447. fr : Français (French)
  448. he : עברית (Hebrew)
  449. hu : Magyar (Hungarian)
  450. it : Italiano (Italian)
  451. ja : 日本語 (Japanese)
  452. nl : Nederlands (Dutch)
  453. pt : Português (Portuguese)
  454. pt_BR : Português (Portuguese_Brazil)
  455. ro : Română (Romanian)
  456. ru : Русский (Russian)
  457. tr : Türkçe (Turkish)
  458. zh : 中文 (Chinese)