settings.yml 18KB

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