settings.yml 17 KB

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