settings.yml 16KB

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