settings.yml 14 KB

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