settings.yml 18KB

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