settings.yml 14 KB

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