settings.yml 19 KB

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