settings.yml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  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 : library genesis
  296. engine : xpath
  297. search_url : http://libgen.io/search.php?req={query}
  298. url_xpath : //a[contains(@href,"bookfi.net")]/@href
  299. title_xpath : //a[contains(@href,"book/")]/text()[1]
  300. content_xpath : //td/a[1][contains(@href,"=author")]/text()
  301. categories : general
  302. timeout : 7.0
  303. disabled : True
  304. shortcut : lg
  305. - name : lobste.rs
  306. engine : xpath
  307. search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
  308. results_xpath : //li[contains(@class, "story")]
  309. url_xpath : .//span[@class="link"]/a/@href
  310. title_xpath : .//span[@class="link"]/a
  311. content_xpath : .//a[@class="domain"]
  312. categories : it
  313. shortcut : lo
  314. - name : microsoft academic
  315. engine : json_engine
  316. paging : True
  317. search_url : https://academic.microsoft.com/api/search/GetEntityResults?query=%40{query}%40&filters=&offset={pageno}&limit=8&correlationId=undefined
  318. results_query : results
  319. url_query : u
  320. title_query : dn
  321. content_query : d
  322. page_size : 8
  323. first_page_num : 0
  324. categories : science
  325. shortcut : ma
  326. - name : mixcloud
  327. engine : mixcloud
  328. shortcut : mc
  329. - name : nyaa
  330. engine : nyaa
  331. shortcut : nt
  332. disabled : True
  333. - name : openstreetmap
  334. engine : openstreetmap
  335. shortcut : osm
  336. - name : openrepos
  337. engine : xpath
  338. paging : True
  339. search_url : https://openrepos.net/search/node/{query}?page={pageno}
  340. url_xpath : //li[@class="search-result"]//h3[@class="title"]/a/@href
  341. title_xpath : //li[@class="search-result"]//h3[@class="title"]/a
  342. content_xpath : //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  343. categories : files
  344. timeout : 4.0
  345. disabled : True
  346. shortcut : or
  347. - name : pdbe
  348. engine : pdbe
  349. shortcut : pdb
  350. # Hide obsolete PDB entries.
  351. # Default is not to hide obsolete structures
  352. # hide_obsolete : False
  353. - name : photon
  354. engine : photon
  355. shortcut : ph
  356. - name : piratebay
  357. engine : piratebay
  358. shortcut : tpb
  359. url: https://pirateproxy.red/
  360. timeout : 3.0
  361. - name : qwant
  362. engine : qwant
  363. shortcut : qw
  364. categories : general
  365. disabled : True
  366. - name : qwant images
  367. engine : qwant
  368. shortcut : qwi
  369. categories : images
  370. - name : qwant news
  371. engine : qwant
  372. shortcut : qwn
  373. categories : news
  374. - name : qwant social
  375. engine : qwant
  376. shortcut : qws
  377. categories : social media
  378. - name : reddit
  379. engine : reddit
  380. shortcut : re
  381. page_size : 25
  382. timeout : 10.0
  383. disabled : True
  384. - name : scanr structures
  385. shortcut: scs
  386. engine : scanr_structures
  387. disabled : True
  388. - name : soundcloud
  389. engine : soundcloud
  390. shortcut : sc
  391. - name : stackoverflow
  392. engine : stackoverflow
  393. shortcut : st
  394. - name : searchcode doc
  395. engine : searchcode_doc
  396. shortcut : scd
  397. - name : searchcode code
  398. engine : searchcode_code
  399. shortcut : scc
  400. disabled : True
  401. # - name : searx
  402. # engine : searx_engine
  403. # shortcut : se
  404. # instance_urls :
  405. # - http://127.0.0.1:8888/
  406. # - ...
  407. # disabled : True
  408. - name : semantic scholar
  409. engine : xpath
  410. paging : True
  411. search_url : https://www.semanticscholar.org/search?q={query}&sort=relevance&page={pageno}&ae=false
  412. results_xpath : //article
  413. url_xpath : .//div[@class="search-result-title"]/a/@href
  414. title_xpath : .//div[@class="search-result-title"]/a
  415. content_xpath : .//div[@class="search-result-abstract"]
  416. shortcut : se
  417. categories : science
  418. - name : spotify
  419. engine : spotify
  420. shortcut : stf
  421. - name : subtitleseeker
  422. engine : subtitleseeker
  423. shortcut : ss
  424. # The language is an option. You can put any language written in english
  425. # Examples : English, French, German, Hungarian, Chinese...
  426. # language : English
  427. - name : startpage
  428. engine : startpage
  429. shortcut : sp
  430. timeout : 6.0
  431. disabled : True
  432. - name : ixquick
  433. engine : startpage
  434. base_url : 'https://www.ixquick.eu/'
  435. search_url : 'https://www.ixquick.eu/do/search'
  436. shortcut : iq
  437. timeout : 6.0
  438. disabled : True
  439. - name : swisscows
  440. engine : swisscows
  441. shortcut : sw
  442. disabled : True
  443. - name : tokyotoshokan
  444. engine : tokyotoshokan
  445. shortcut : tt
  446. timeout : 6.0
  447. disabled : True
  448. - name : twitter
  449. engine : twitter
  450. shortcut : tw
  451. # maybe in a fun category
  452. # - name : uncyclopedia
  453. # engine : mediawiki
  454. # shortcut : unc
  455. # base_url : https://uncyclopedia.wikia.com/
  456. # number_of_results : 5
  457. # tmp suspended - too slow, too many errors
  458. # - name : urbandictionary
  459. # engine : xpath
  460. # search_url : http://www.urbandictionary.com/define.php?term={query}
  461. # url_xpath : //*[@class="word"]/@href
  462. # title_xpath : //*[@class="def-header"]
  463. # content_xpath : //*[@class="meaning"]
  464. # shortcut : ud
  465. - name : yahoo
  466. engine : yahoo
  467. shortcut : yh
  468. - name : yandex
  469. engine : yandex
  470. shortcut : yn
  471. disabled : True
  472. - name : yahoo news
  473. engine : yahoo_news
  474. shortcut : yhn
  475. - name : youtube
  476. shortcut : yt
  477. # You can use the engine using the official stable API, but you need an API key
  478. # See : https://console.developers.google.com/project
  479. # engine : youtube_api
  480. # api_key: 'apikey' # required!
  481. # Or you can use the html non-stable engine, activated by default
  482. engine : youtube_noapi
  483. - name : dailymotion
  484. engine : dailymotion
  485. shortcut : dm
  486. - name : vimeo
  487. engine : vimeo
  488. shortcut : vm
  489. - name : wolframalpha
  490. shortcut : wa
  491. # You can use the engine using the official stable API, but you need an API key
  492. # See : http://products.wolframalpha.com/api/
  493. # engine : wolframalpha_api
  494. # api_key: '' # required!
  495. engine : wolframalpha_noapi
  496. timeout: 6.0
  497. categories : science
  498. - name : seedpeer
  499. engine : seedpeer
  500. shortcut: speu
  501. categories: files, music, videos
  502. disabled: True
  503. - name : dictzone
  504. engine : dictzone
  505. shortcut : dc
  506. - name : mymemory translated
  507. engine : translated
  508. shortcut : tl
  509. timeout : 5.0
  510. disabled : True
  511. # You can use without an API key, but you are limited to 1000 words/day
  512. # See : http://mymemory.translated.net/doc/usagelimits.php
  513. # api_key : ''
  514. - name : voat
  515. engine: xpath
  516. shortcut: vo
  517. categories: social media
  518. search_url : https://voat.co/search?q={query}
  519. url_xpath : //p[contains(@class, "title")]/a/@href
  520. title_xpath : //p[contains(@class, "title")]/a
  521. content_xpath : //span[@class="domain"]
  522. timeout : 10.0
  523. disabled : True
  524. - name : 1337x
  525. engine : 1337x
  526. shortcut : 1337x
  527. disabled : True
  528. #The blekko technology and team have joined IBM Watson! -> https://blekko.com/
  529. # - name : blekko images
  530. # engine : blekko_images
  531. # locale : en-US
  532. # shortcut : bli
  533. # - name : yacy
  534. # engine : yacy
  535. # shortcut : ya
  536. # base_url : 'http://localhost:8090'
  537. # number_of_results : 5
  538. # timeout : 3.0
  539. # Doku engine lets you access to any Doku wiki instance:
  540. # A public one or a privete/corporate one.
  541. # - name : ubuntuwiki
  542. # engine : doku
  543. # shortcut : uw
  544. # base_url : 'http://doc.ubuntu-fr.org'
  545. locales:
  546. en : English
  547. bg : Български (Bulgarian)
  548. cs : Čeština (Czech)
  549. de : Deutsch (German)
  550. el_GR : Ελληνικά (Greek_Greece)
  551. eo : Esperanto (Esperanto)
  552. es : Español (Spanish)
  553. fr : Français (French)
  554. he : עברית (Hebrew)
  555. hu : Magyar (Hungarian)
  556. it : Italiano (Italian)
  557. ja : 日本語 (Japanese)
  558. nl : Nederlands (Dutch)
  559. pt : Português (Portuguese)
  560. pt_BR : Português (Portuguese_Brazil)
  561. ro : Română (Romanian)
  562. ru : Русский (Russian)
  563. sv : Svenska (Swedish)
  564. tr : Türkçe (Turkish)
  565. zh : 中文 (Chinese)