settings.yml 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  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. server:
  8. port : 8888
  9. bind_address : "127.0.0.1" # address to listen on
  10. secret_key : "ultrasecretkey" # change this!
  11. base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
  12. image_proxy : False # Proxying image results through searx
  13. ui:
  14. themes_path : "" # Custom ui themes path - leave it blank if you didn't change
  15. default_theme : oscar # ui theme
  16. default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
  17. outgoing: # communication with search engines
  18. request_timeout : 2.0 # seconds
  19. useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
  20. pool_connections : 100 # Number of different hosts
  21. pool_maxsize : 10 # Number of simultaneous requests by host
  22. # uncomment below section if you want to use a proxy
  23. # see http://docs.python-requests.org/en/latest/user/advanced/#proxies
  24. # SOCKS proxies are not supported : see https://github.com/kennethreitz/requests/pull/478
  25. # proxies :
  26. # http : http://127.0.0.1:8080
  27. # https: http://127.0.0.1:8080
  28. # uncomment below section only if you have more than one network interface
  29. # which can be the source of outgoing search requests
  30. # source_ips:
  31. # - 1.1.1.1
  32. # - 1.1.1.2
  33. engines:
  34. - name : arch linux wiki
  35. engine : archlinux
  36. shortcut : al
  37. - name : archive is
  38. engine : xpath
  39. search_url : https://archive.is/{query}
  40. url_xpath : (//div[@class="TEXT-BLOCK"]/a)/@href
  41. title_xpath : (//div[@class="TEXT-BLOCK"]/a)
  42. content_xpath : //div[@class="TEXT-BLOCK"]/ul/li
  43. categories : general
  44. timeout : 7.0
  45. disabled : True
  46. shortcut : ai
  47. - name : base
  48. engine : base
  49. shortcut : bs
  50. - name : wikipedia
  51. engine : wikipedia
  52. shortcut : wp
  53. base_url : 'https://{language}.wikipedia.org/'
  54. - name : bing
  55. engine : bing
  56. shortcut : bi
  57. - name : bing images
  58. engine : bing_images
  59. shortcut : bii
  60. - name : bing news
  61. engine : bing_news
  62. shortcut : bin
  63. - name : bitbucket
  64. engine : xpath
  65. paging : True
  66. search_url : https://bitbucket.org/repo/all/{pageno}?name={query}
  67. url_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]/@href
  68. title_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]
  69. content_xpath : //article[@class="repo-summary"]/p
  70. categories : it
  71. timeout : 4.0
  72. disabled : True
  73. shortcut : bb
  74. - name : btdigg
  75. engine : btdigg
  76. shortcut : bt
  77. - name : currency
  78. engine : currency_convert
  79. categories : general
  80. shortcut : cc
  81. - name : deezer
  82. engine : deezer
  83. shortcut : dz
  84. - name : deviantart
  85. engine : deviantart
  86. shortcut : da
  87. timeout: 3.0
  88. - name : ddg definitions
  89. engine : duckduckgo_definitions
  90. shortcut : ddd
  91. weight : 2
  92. disabled : True
  93. - name : digg
  94. engine : digg
  95. shortcut : dg
  96. - name : erowid
  97. engine : xpath
  98. paging : True
  99. first_page_num : 0
  100. page_size : 30
  101. search_url : https://www.erowid.org/search.php?q={query}&s={pageno}
  102. url_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
  103. title_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
  104. content_xpath : //dl[@class="results-list"]/dd[@class="result-details"]
  105. categories : general
  106. shortcut : ew
  107. disabled : True
  108. - name : wikidata
  109. engine : wikidata
  110. shortcut : wd
  111. weight : 2
  112. - name : duckduckgo
  113. engine : duckduckgo
  114. shortcut : ddg
  115. disabled : True
  116. # api-key required: http://www.faroo.com/hp/api/api.html#key
  117. # - name : faroo
  118. # engine : faroo
  119. # shortcut : fa
  120. # api_key : 'apikey' # required!
  121. - name : 500px
  122. engine : www500px
  123. shortcut : px
  124. - name : 1x
  125. engine : www1x
  126. shortcut : 1x
  127. disabled : True
  128. - name : fdroid
  129. engine : fdroid
  130. shortcut : fd
  131. disabled : True
  132. - name : flickr
  133. categories : images
  134. shortcut : fl
  135. # You can use the engine using the official stable API, but you need an API key
  136. # See : https://www.flickr.com/services/apps/create/
  137. # engine : flickr
  138. # api_key: 'apikey' # required!
  139. # Or you can use the html non-stable engine, activated by default
  140. engine : flickr_noapi
  141. - name : frinkiac
  142. engine : frinkiac
  143. shortcut : frk
  144. disabled : True
  145. - name : gigablast
  146. engine : gigablast
  147. shortcut : gb
  148. disabled: True
  149. - name : gitlab
  150. engine : xpath
  151. paging : True
  152. search_url : https://gitlab.com/search?page={pageno}&search={query}
  153. url_xpath : //li[@class="project-row"]//a[@class="project"]/@href
  154. title_xpath : //li[@class="project-row"]//span[contains(@class, "project-full-name")]
  155. content_xpath : //li[@class="project-row"]//div[@class="description"]/p
  156. categories : it
  157. shortcut : gl
  158. timeout : 5.0
  159. disabled : True
  160. - name : github
  161. engine : github
  162. shortcut : gh
  163. - name : google
  164. engine : google
  165. shortcut : go
  166. - name : google images
  167. engine : google_images
  168. shortcut : goi
  169. - name : google news
  170. engine : google_news
  171. shortcut : gon
  172. - name : google scholar
  173. engine : xpath
  174. paging : True
  175. search_url : https://scholar.google.com/scholar?start={pageno}&q={query}&hl=en&as_sdt=0,5&as_vis=1'
  176. results_xpath : //div[@class="gs_r"]/div[@class="gs_ri"]
  177. url_xpath : .//h3/a/@href
  178. title_xpath : .//h3/a
  179. content_xpath : .//div[@class="gs_rs"]
  180. suggestion_xpath : //div[@id="gs_qsuggest"]/ul/li
  181. page_size : 10
  182. first_page_num : 0
  183. categories : science
  184. shortcut : gos
  185. - name : google play apps
  186. engine : xpath
  187. search_url : https://play.google.com/store/search?q={query}&c=apps
  188. url_xpath : //a[@class="title"]/@href
  189. title_xpath : //a[@class="title"]
  190. content_xpath : //a[@class="subtitle"]
  191. categories : files
  192. shortcut : gpa
  193. disabled : True
  194. - name : google play movies
  195. engine : xpath
  196. search_url : https://play.google.com/store/search?q={query}&c=movies
  197. url_xpath : //a[@class="title"]/@href
  198. title_xpath : //a[@class="title"]
  199. content_xpath : //a[@class="subtitle"]
  200. categories : videos
  201. shortcut : gpm
  202. disabled : True
  203. - name : google play music
  204. engine : xpath
  205. search_url : https://play.google.com/store/search?q={query}&c=music
  206. url_xpath : //a[@class="title"]/@href
  207. title_xpath : //a[@class="title"]
  208. content_xpath : //a[@class="subtitle"]
  209. categories : music
  210. shortcut : gps
  211. disabled : True
  212. - name : geektimes
  213. engine : xpath
  214. paging : True
  215. search_url : https://geektimes.ru/search/page{pageno}/?q={query}
  216. url_xpath : //div[@class="search_results"]//a[@class="post__title_link"]/@href
  217. title_xpath : //div[@class="search_results"]//a[@class="post__title_link"]
  218. content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
  219. categories : it
  220. timeout : 4.0
  221. disabled : True
  222. shortcut : gt
  223. - name : habrahabr
  224. engine : xpath
  225. paging : True
  226. search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
  227. url_xpath : //div[@class="search_results"]//a[@class="post_title"]/@href
  228. title_xpath : //div[@class="search_results"]//a[@class="post_title"]
  229. content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
  230. categories : it
  231. timeout : 4.0
  232. disabled : True
  233. shortcut : habr
  234. - name : ina
  235. engine : ina
  236. shortcut : in
  237. timeout : 6.0
  238. disabled : True
  239. - name : mixcloud
  240. engine : mixcloud
  241. shortcut : mc
  242. - name : nyaa
  243. engine : nyaa
  244. shortcut : nt
  245. disabled : True
  246. - name : openstreetmap
  247. engine : openstreetmap
  248. shortcut : osm
  249. - name : openrepos
  250. engine : xpath
  251. paging : True
  252. search_url : https://openrepos.net/search/node/{query}?page={pageno}
  253. url_xpath : //li[@class="search-result"]//h3[@class="title"]/a/@href
  254. title_xpath : //li[@class="search-result"]//h3[@class="title"]/a
  255. content_xpath : //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  256. categories : files
  257. timeout : 4.0
  258. disabled : True
  259. shortcut : or
  260. - name : photon
  261. engine : photon
  262. shortcut : ph
  263. - name : piratebay
  264. engine : piratebay
  265. shortcut : tpb
  266. disabled : True
  267. - name : qwant
  268. engine : qwant
  269. shortcut : qw
  270. categories : general
  271. disabled : True
  272. - name : qwant images
  273. engine : qwant
  274. shortcut : qwi
  275. categories : images
  276. - name : qwant news
  277. engine : qwant
  278. shortcut : qwn
  279. categories : news
  280. - name : qwant social
  281. engine : qwant
  282. shortcut : qws
  283. categories : social media
  284. - name : reddit
  285. engine : reddit
  286. shortcut : re
  287. page_size : 25
  288. timeout : 10.0
  289. disabled : True
  290. - name : scanr_structures
  291. shortcut: scs
  292. engine : scanr_structures
  293. disabled : True
  294. - name : soundcloud
  295. engine : soundcloud
  296. shortcut : sc
  297. - name : stackoverflow
  298. engine : stackoverflow
  299. shortcut : st
  300. - name : searchcode doc
  301. engine : searchcode_doc
  302. shortcut : scd
  303. - name : searchcode code
  304. engine : searchcode_code
  305. shortcut : scc
  306. disabled : True
  307. - name : spotify
  308. engine : spotify
  309. shortcut : stf
  310. - name : subtitleseeker
  311. engine : subtitleseeker
  312. shortcut : ss
  313. # The language is an option. You can put any language written in english
  314. # Examples : English, French, German, Hungarian, Chinese...
  315. # language : English
  316. - name : startpage
  317. engine : startpage
  318. shortcut : sp
  319. timeout : 6.0
  320. disabled : True
  321. - name : ixquick
  322. engine : startpage
  323. base_url : 'https://www.ixquick.com/'
  324. search_url : 'https://www.ixquick.com/do/search'
  325. shortcut : iq
  326. timeout : 6.0
  327. disabled : True
  328. - name : swisscows
  329. engine : swisscows
  330. shortcut : sw
  331. disabled : True
  332. - name : tokyotoshokan
  333. engine : tokyotoshokan
  334. shortcut : tt
  335. timeout : 6.0
  336. disabled : True
  337. - name : torrentz
  338. engine : torrentz
  339. timeout : 5.0
  340. shortcut : to
  341. - name : twitter
  342. engine : twitter
  343. shortcut : tw
  344. # maybe in a fun category
  345. # - name : uncyclopedia
  346. # engine : mediawiki
  347. # shortcut : unc
  348. # base_url : https://uncyclopedia.wikia.com/
  349. # number_of_results : 5
  350. # tmp suspended - too slow, too many errors
  351. # - name : urbandictionary
  352. # engine : xpath
  353. # search_url : http://www.urbandictionary.com/define.php?term={query}
  354. # url_xpath : //div[@class="word"]//a/@href
  355. # title_xpath : //div[@class="word"]//a
  356. # content_xpath : //div[@class="definition"]
  357. # shortcut : ud
  358. - name : yahoo
  359. engine : yahoo
  360. shortcut : yh
  361. - name : yandex
  362. engine : yandex
  363. shortcut : yn
  364. disabled : True
  365. - name : yahoo news
  366. engine : yahoo_news
  367. shortcut : yhn
  368. - name : youtube
  369. shortcut : yt
  370. # You can use the engine using the official stable API, but you need an API key
  371. # See : https://console.developers.google.com/project
  372. # engine : youtube_api
  373. # api_key: 'apikey' # required!
  374. # Or you can use the html non-stable engine, activated by default
  375. engine : youtube_noapi
  376. - name : dailymotion
  377. engine : dailymotion
  378. shortcut : dm
  379. - name : vimeo
  380. engine : vimeo
  381. shortcut : vm
  382. - name : wolframalpha
  383. shortcut : wa
  384. # You can use the engine using the official stable API, but you need an API key
  385. # See : http://products.wolframalpha.com/api/
  386. # engine : wolframalpha_api
  387. # api_key: '' # required!
  388. engine : wolframalpha_noapi
  389. timeout: 6.0
  390. categories : science
  391. #The blekko technology and team have joined IBM Watson! -> https://blekko.com/
  392. # - name : blekko images
  393. # engine : blekko_images
  394. # locale : en-US
  395. # shortcut : bli
  396. # - name : yacy
  397. # engine : yacy
  398. # shortcut : ya
  399. # base_url : 'http://localhost:8090'
  400. # number_of_results : 5
  401. # timeout : 3.0
  402. # Doku engine lets you access to any Doku wiki instance:
  403. # A public one or a privete/corporate one.
  404. # - name : ubuntuwiki
  405. # engine : doku
  406. # shortcut : uw
  407. # base_url : 'http://doc.ubuntu-fr.org'
  408. locales:
  409. en : English
  410. bg : Български (Bulgarian)
  411. de : Deutsch (German)
  412. el_GR : Ελληνικά (Greek_Greece)
  413. eo : Esperanto (Esperanto)
  414. es : Español (Spanish)
  415. fr : Français (French)
  416. he : עברית (Hebrew)
  417. hu : Magyar (Hungarian)
  418. it : Italiano (Italian)
  419. ja : 日本語 (Japanese)
  420. nl : Nederlands (Dutch)
  421. pt : Português (Portuguese)
  422. pt_BR : Português (Portuguese_Brazil)
  423. ro : Română (Romanian)
  424. ru : Русский (Russian)
  425. tr : Türkçe (Turkish)
  426. zh : 中文 (Chinese)