settings.yml 16 KB

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