settings.yml 18 KB

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