settings.yml 16 KB

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