settings.yml 3.1 KB

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