settings.yml 18 KB

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