settings.yml 18 KB

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