settings.yml 18 KB

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