settings.yml 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  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. # searx supports result proxification using an external service: https://github.com/asciimoo/morty
  18. # uncomment below section if you have running morty proxy
  19. #result_proxy:
  20. # url : http://127.0.0.1:3000/
  21. # key : your_morty_proxy_key
  22. outgoing: # communication with search engines
  23. request_timeout : 2.0 # seconds
  24. useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
  25. pool_connections : 100 # Number of different hosts
  26. pool_maxsize : 10 # Number of simultaneous requests by host
  27. # uncomment below section if you want to use a proxy
  28. # see http://docs.python-requests.org/en/latest/user/advanced/#proxies
  29. # SOCKS proxies are also supported: see http://docs.python-requests.org/en/master/user/advanced/#socks
  30. # proxies :
  31. # http : http://127.0.0.1:8080
  32. # https: http://127.0.0.1:8080
  33. # uncomment below section only if you have more than one network interface
  34. # which can be the source of outgoing search requests
  35. # source_ips:
  36. # - 1.1.1.1
  37. # - 1.1.1.2
  38. engines:
  39. - name : arch linux wiki
  40. engine : archlinux
  41. shortcut : al
  42. - name : archive is
  43. engine : xpath
  44. search_url : https://archive.is/{query}
  45. url_xpath : (//div[@class="TEXT-BLOCK"]/a)/@href
  46. title_xpath : (//div[@class="TEXT-BLOCK"]/a)
  47. content_xpath : //div[@class="TEXT-BLOCK"]/ul/li
  48. categories : general
  49. timeout : 7.0
  50. disabled : True
  51. shortcut : ai
  52. - name : base
  53. engine : base
  54. shortcut : bs
  55. - name : wikipedia
  56. engine : wikipedia
  57. shortcut : wp
  58. base_url : 'https://{language}.wikipedia.org/'
  59. - name : bing
  60. engine : bing
  61. shortcut : bi
  62. - name : bing images
  63. engine : bing_images
  64. shortcut : bii
  65. - name : bing news
  66. engine : bing_news
  67. shortcut : bin
  68. - name : bitbucket
  69. engine : xpath
  70. paging : True
  71. search_url : https://bitbucket.org/repo/all/{pageno}?name={query}
  72. url_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]/@href
  73. title_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]
  74. content_xpath : //article[@class="repo-summary"]/p
  75. categories : it
  76. timeout : 4.0
  77. disabled : True
  78. shortcut : bb
  79. - name : crossref
  80. engine : json_engine
  81. paging : True
  82. search_url : http://search.crossref.org/dois?q={query}&page={pageno}
  83. url_query : doi
  84. title_query : title
  85. content_query : fullCitation
  86. categories : science
  87. shortcut : cr
  88. - name : currency
  89. engine : currency_convert
  90. categories : general
  91. shortcut : cc
  92. - name : deezer
  93. engine : deezer
  94. shortcut : dz
  95. - name : deviantart
  96. engine : deviantart
  97. shortcut : da
  98. timeout: 3.0
  99. - name : ddg definitions
  100. engine : duckduckgo_definitions
  101. shortcut : ddd
  102. weight : 2
  103. disabled : True
  104. - name : digbt
  105. engine : digbt
  106. shortcut : dbt
  107. timeout : 6.0
  108. disabled : True
  109. - name : digg
  110. engine : digg
  111. shortcut : dg
  112. - name : erowid
  113. engine : xpath
  114. paging : True
  115. first_page_num : 0
  116. page_size : 30
  117. search_url : https://www.erowid.org/search.php?q={query}&s={pageno}
  118. url_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
  119. title_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
  120. content_xpath : //dl[@class="results-list"]/dd[@class="result-details"]
  121. categories : general
  122. shortcut : ew
  123. disabled : True
  124. - name : wikidata
  125. engine : wikidata
  126. shortcut : wd
  127. weight : 2
  128. - name : duckduckgo
  129. engine : duckduckgo
  130. shortcut : ddg
  131. disabled : True
  132. # api-key required: http://www.faroo.com/hp/api/api.html#key
  133. # - name : faroo
  134. # engine : faroo
  135. # shortcut : fa
  136. # api_key : 'apikey' # required!
  137. - name : 500px
  138. engine : www500px
  139. shortcut : px
  140. - name : 1x
  141. engine : www1x
  142. shortcut : 1x
  143. disabled : True
  144. - name : fdroid
  145. engine : fdroid
  146. shortcut : fd
  147. disabled : True
  148. - name : flickr
  149. categories : images
  150. shortcut : fl
  151. # You can use the engine using the official stable API, but you need an API key
  152. # See : https://www.flickr.com/services/apps/create/
  153. # engine : flickr
  154. # api_key: 'apikey' # required!
  155. # Or you can use the html non-stable engine, activated by default
  156. engine : flickr_noapi
  157. - name : frinkiac
  158. engine : frinkiac
  159. shortcut : frk
  160. disabled : True
  161. - name : gigablast
  162. engine : gigablast
  163. shortcut : gb
  164. disabled: True
  165. - name : gitlab
  166. engine : xpath
  167. paging : True
  168. search_url : https://gitlab.com/search?page={pageno}&search={query}
  169. url_xpath : //li[@class="project-row"]//a[@class="project"]/@href
  170. title_xpath : //li[@class="project-row"]//span[contains(@class, "project-full-name")]
  171. content_xpath : //li[@class="project-row"]//div[@class="description"]/p
  172. categories : it
  173. shortcut : gl
  174. timeout : 5.0
  175. disabled : True
  176. - name : github
  177. engine : github
  178. shortcut : gh
  179. - name : google
  180. engine : google
  181. shortcut : go
  182. - name : google images
  183. engine : google_images
  184. shortcut : goi
  185. - name : google news
  186. engine : google_news
  187. shortcut : gon
  188. - name : google scholar
  189. engine : xpath
  190. paging : True
  191. search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1
  192. results_xpath : //div[@class="gs_r"]/div[@class="gs_ri"]
  193. url_xpath : .//h3/a/@href
  194. title_xpath : .//h3/a
  195. content_xpath : .//div[@class="gs_rs"]
  196. suggestion_xpath : //div[@id="gs_qsuggest"]/ul/li
  197. page_size : 10
  198. first_page_num : 0
  199. categories : science
  200. shortcut : gos
  201. - name : google play apps
  202. engine : xpath
  203. search_url : https://play.google.com/store/search?q={query}&c=apps
  204. url_xpath : //a[@class="title"]/@href
  205. title_xpath : //a[@class="title"]
  206. content_xpath : //a[@class="subtitle"]
  207. categories : files
  208. shortcut : gpa
  209. disabled : True
  210. - name : google play movies
  211. engine : xpath
  212. search_url : https://play.google.com/store/search?q={query}&c=movies
  213. url_xpath : //a[@class="title"]/@href
  214. title_xpath : //a[@class="title"]
  215. content_xpath : //a[@class="subtitle"]
  216. categories : videos
  217. shortcut : gpm
  218. disabled : True
  219. - name : google play music
  220. engine : xpath
  221. search_url : https://play.google.com/store/search?q={query}&c=music
  222. url_xpath : //a[@class="title"]/@href
  223. title_xpath : //a[@class="title"]
  224. content_xpath : //a[@class="subtitle"]
  225. categories : music
  226. shortcut : gps
  227. disabled : True
  228. - name : geektimes
  229. engine : xpath
  230. paging : True
  231. search_url : https://geektimes.ru/search/page{pageno}/?q={query}
  232. url_xpath : //div[@class="search_results"]//a[@class="post__title_link"]/@href
  233. title_xpath : //div[@class="search_results"]//a[@class="post__title_link"]
  234. content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
  235. categories : it
  236. timeout : 4.0
  237. disabled : True
  238. shortcut : gt
  239. - name : habrahabr
  240. engine : xpath
  241. paging : True
  242. search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
  243. url_xpath : //div[@class="search_results"]//a[@class="post_title"]/@href
  244. title_xpath : //div[@class="search_results"]//a[@class="post_title"]
  245. content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
  246. categories : it
  247. timeout : 4.0
  248. disabled : True
  249. shortcut : habr
  250. - name : hoogle
  251. engine : json_engine
  252. paging : True
  253. search_url : https://www.haskell.org/hoogle/?mode=json&hoogle={query}&start={pageno}
  254. results_query : results
  255. url_query : location
  256. title_query : self
  257. content_query : docs
  258. page_size : 20
  259. categories : it
  260. shortcut : ho
  261. - name : ina
  262. engine : ina
  263. shortcut : in
  264. timeout : 6.0
  265. disabled : True
  266. - name: kickass
  267. engine : kickass
  268. shortcut : kc
  269. timeout : 4.0
  270. disabled : True
  271. - name : lobste.rs
  272. engine : xpath
  273. search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
  274. results_xpath : //li[contains(@class, "story")]
  275. url_xpath : .//span[@class="link"]/a/@href
  276. title_xpath : .//span[@class="link"]/a
  277. content_xpath : .//a[@class="domain"]
  278. categories : it
  279. shortcut : lo
  280. - name : microsoft academic
  281. engine : json_engine
  282. paging : True
  283. search_url : https://academic.microsoft.com/api/search/GetEntityResults?query=%40{query}%40&filters=&offset={pageno}&limit=8&correlationId=undefined
  284. results_query : results
  285. url_query : u
  286. title_query : dn
  287. content_query : d
  288. page_size : 8
  289. first_page_num : 0
  290. categories : science
  291. shortcut : ma
  292. - name : mixcloud
  293. engine : mixcloud
  294. shortcut : mc
  295. - name : nyaa
  296. engine : nyaa
  297. shortcut : nt
  298. disabled : True
  299. - name : openstreetmap
  300. engine : openstreetmap
  301. shortcut : osm
  302. - name : openrepos
  303. engine : xpath
  304. paging : True
  305. search_url : https://openrepos.net/search/node/{query}?page={pageno}
  306. url_xpath : //li[@class="search-result"]//h3[@class="title"]/a/@href
  307. title_xpath : //li[@class="search-result"]//h3[@class="title"]/a
  308. content_xpath : //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  309. categories : files
  310. timeout : 4.0
  311. disabled : True
  312. shortcut : or
  313. - name : pdbe
  314. engine : pdbe
  315. shortcut : pdb
  316. # Hide obsolete PDB entries.
  317. # Default is not to hide obsolete structures
  318. # hide_obsolete : False
  319. - name : photon
  320. engine : photon
  321. shortcut : ph
  322. - name : piratebay
  323. engine : piratebay
  324. shortcut : tpb
  325. url: https://pirateproxy.red/
  326. timeout : 3.0
  327. - name : qwant
  328. engine : qwant
  329. shortcut : qw
  330. categories : general
  331. disabled : True
  332. - name : qwant images
  333. engine : qwant
  334. shortcut : qwi
  335. categories : images
  336. - name : qwant news
  337. engine : qwant
  338. shortcut : qwn
  339. categories : news
  340. - name : qwant social
  341. engine : qwant
  342. shortcut : qws
  343. categories : social media
  344. - name : reddit
  345. engine : reddit
  346. shortcut : re
  347. page_size : 25
  348. timeout : 10.0
  349. disabled : True
  350. - name : scanr structures
  351. shortcut: scs
  352. engine : scanr_structures
  353. disabled : True
  354. - name : soundcloud
  355. engine : soundcloud
  356. shortcut : sc
  357. - name : stackoverflow
  358. engine : stackoverflow
  359. shortcut : st
  360. - name : searchcode doc
  361. engine : searchcode_doc
  362. shortcut : scd
  363. - name : searchcode code
  364. engine : searchcode_code
  365. shortcut : scc
  366. disabled : True
  367. - name : spotify
  368. engine : spotify
  369. shortcut : stf
  370. - name : subtitleseeker
  371. engine : subtitleseeker
  372. shortcut : ss
  373. # The language is an option. You can put any language written in english
  374. # Examples : English, French, German, Hungarian, Chinese...
  375. # language : English
  376. - name : startpage
  377. engine : startpage
  378. shortcut : sp
  379. timeout : 6.0
  380. disabled : True
  381. - name : ixquick
  382. engine : startpage
  383. base_url : 'https://www.ixquick.eu/'
  384. search_url : 'https://www.ixquick.eu/do/search'
  385. shortcut : iq
  386. timeout : 6.0
  387. disabled : True
  388. - name : swisscows
  389. engine : swisscows
  390. shortcut : sw
  391. disabled : True
  392. - name : tokyotoshokan
  393. engine : tokyotoshokan
  394. shortcut : tt
  395. timeout : 6.0
  396. disabled : True
  397. - name : twitter
  398. engine : twitter
  399. shortcut : tw
  400. # maybe in a fun category
  401. # - name : uncyclopedia
  402. # engine : mediawiki
  403. # shortcut : unc
  404. # base_url : https://uncyclopedia.wikia.com/
  405. # number_of_results : 5
  406. # tmp suspended - too slow, too many errors
  407. # - name : urbandictionary
  408. # engine : xpath
  409. # search_url : http://www.urbandictionary.com/define.php?term={query}
  410. # url_xpath : //*[@class="word"]/@href
  411. # title_xpath : //*[@class="def-header"]
  412. # content_xpath : //*[@class="meaning"]
  413. # shortcut : ud
  414. - name : yahoo
  415. engine : yahoo
  416. shortcut : yh
  417. - name : yandex
  418. engine : yandex
  419. shortcut : yn
  420. disabled : True
  421. - name : yahoo news
  422. engine : yahoo_news
  423. shortcut : yhn
  424. - name : youtube
  425. shortcut : yt
  426. # You can use the engine using the official stable API, but you need an API key
  427. # See : https://console.developers.google.com/project
  428. # engine : youtube_api
  429. # api_key: 'apikey' # required!
  430. # Or you can use the html non-stable engine, activated by default
  431. engine : youtube_noapi
  432. - name : dailymotion
  433. engine : dailymotion
  434. shortcut : dm
  435. - name : vimeo
  436. engine : vimeo
  437. shortcut : vm
  438. - name : wolframalpha
  439. shortcut : wa
  440. # You can use the engine using the official stable API, but you need an API key
  441. # See : http://products.wolframalpha.com/api/
  442. # engine : wolframalpha_api
  443. # api_key: '' # required!
  444. engine : wolframalpha_noapi
  445. timeout: 6.0
  446. categories : science
  447. - name : seedpeer
  448. engine : seedpeer
  449. shortcut: speu
  450. categories: files, music, videos
  451. disabled: True
  452. - name : dictzone
  453. engine : dictzone
  454. shortcut : dc
  455. - name : mymemory translated
  456. engine : translated
  457. shortcut : tl
  458. timeout : 5.0
  459. disabled : True
  460. # You can use without an API key, but you are limited to 1000 words/day
  461. # See : http://mymemory.translated.net/doc/usagelimits.php
  462. # api_key : ''
  463. #The blekko technology and team have joined IBM Watson! -> https://blekko.com/
  464. # - name : blekko images
  465. # engine : blekko_images
  466. # locale : en-US
  467. # shortcut : bli
  468. # - name : yacy
  469. # engine : yacy
  470. # shortcut : ya
  471. # base_url : 'http://localhost:8090'
  472. # number_of_results : 5
  473. # timeout : 3.0
  474. # Doku engine lets you access to any Doku wiki instance:
  475. # A public one or a privete/corporate one.
  476. # - name : ubuntuwiki
  477. # engine : doku
  478. # shortcut : uw
  479. # base_url : 'http://doc.ubuntu-fr.org'
  480. locales:
  481. en : English
  482. bg : Български (Bulgarian)
  483. de : Deutsch (German)
  484. el_GR : Ελληνικά (Greek_Greece)
  485. eo : Esperanto (Esperanto)
  486. es : Español (Spanish)
  487. fr : Français (French)
  488. he : עברית (Hebrew)
  489. hu : Magyar (Hungarian)
  490. it : Italiano (Italian)
  491. ja : 日本語 (Japanese)
  492. nl : Nederlands (Dutch)
  493. pt : Português (Portuguese)
  494. pt_BR : Português (Portuguese_Brazil)
  495. ro : Română (Romanian)
  496. ru : Русский (Russian)
  497. tr : Türkçe (Turkish)
  498. zh : 中文 (Chinese)