settings.yml 17 KB

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