settings.yml 3.1KB

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