settings.yml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. server:
  2. port : 8888
  3. secret_key : "ultrasecretkey" # change this!
  4. debug : True
  5. request_timeout : 2.0 # seconds
  6. base_url : False
  7. client:
  8. autocompleter : False # only for developers, no real results yet
  9. engines:
  10. - name : wikipedia
  11. engine : wikipedia
  12. number_of_results : 1
  13. paging : False
  14. shortcut : wp
  15. - name : bing
  16. engine : bing
  17. locale : en-US
  18. shortcut : bi
  19. - name : bing news
  20. engine : bing_news
  21. locale : en-US
  22. shortcut : bin
  23. - name : currency
  24. engine : currency_convert
  25. categories : general
  26. shortcut : cc
  27. - name : deviantart
  28. engine : deviantart
  29. categories : images
  30. shortcut : da
  31. timeout: 3.0
  32. - name : ddg definitions
  33. engine : duckduckgo_definitions
  34. shortcut : ddd
  35. - name : duckduckgo
  36. engine : duckduckgo
  37. locale : en-us
  38. shortcut : ddg
  39. - name : filecrop
  40. engine : filecrop
  41. categories : files
  42. shortcut : fc
  43. - name : flickr
  44. engine : flickr
  45. categories : images
  46. shortcut : fl
  47. timeout: 3.0
  48. - name : github
  49. engine : github
  50. categories : it
  51. shortcut : gh
  52. - name : google
  53. engine : google
  54. shortcut : go
  55. - name : google images
  56. engine : google_images
  57. shortcut : goi
  58. - name : google news
  59. engine : google_news
  60. shortcut : gon
  61. - name : piratebay
  62. engine : piratebay
  63. categories : videos, music, files
  64. shortcut : tpb
  65. - name : soundcloud
  66. engine : soundcloud
  67. categories : music
  68. shortcut : sc
  69. - name : stackoverflow
  70. engine : stackoverflow
  71. categories : it
  72. shortcut : st
  73. - name : startpage
  74. engine : startpage
  75. base_url : 'https://startpage.com/'
  76. search_url : 'https://startpage.com/do/search'
  77. shortcut : sp
  78. # +30% page load time
  79. # - name : ixquick
  80. # engine : startpage
  81. # base_url : 'https://www.ixquick.com/'
  82. # search_url : 'https://www.ixquick.com/do/search'
  83. - name : twitter
  84. engine : twitter
  85. categories : social media
  86. shortcut : tw
  87. # maybe in a fun category
  88. # - name : uncyclopedia
  89. # engine : mediawiki
  90. # categories : general
  91. # shortcut : unc
  92. # url : https://uncyclopedia.wikia.com/
  93. - name : urbandictionary
  94. engine : xpath
  95. search_url : http://www.urbandictionary.com/define.php?term={query}
  96. url_xpath : //div[@class="word"]//a/@href
  97. title_xpath : //div[@class="word"]//a
  98. content_xpath : //div[@class="definition"]
  99. shortcut : ud
  100. - name : yahoo
  101. engine : yahoo
  102. shortcut : yh
  103. - name : yahoo news
  104. engine : yahoo_news
  105. shortcut : yhn
  106. - name : youtube
  107. engine : youtube
  108. categories : videos
  109. shortcut : yt
  110. - name : dailymotion
  111. engine : dailymotion
  112. locale : en_US
  113. categories : videos
  114. shortcut : dm
  115. - name : vimeo
  116. engine : vimeo
  117. categories : videos
  118. results_xpath : //div[@id="browse_content"]/ol/li
  119. url_xpath : ./a/@href
  120. title_xpath : ./a/div[@class="data"]/p[@class="title"]/text()
  121. content_xpath : ./a/img/@src
  122. shortcut : vm
  123. locales:
  124. en : English
  125. de : Deutsch
  126. hu : Magyar
  127. fr : Français
  128. es : Español
  129. it : Italiano
  130. nl : Nederlands