settings.yml 18 KB

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