A code that executes a series of websites that give free bitcoin. Python


SUBMITTED BY: Guest

DATE: Nov. 29, 2013, 8:59 p.m.

FORMAT: Text only

SIZE: 4.9 kB

HITS: 671

  1. # Donate to 14LaojeCXkrQ19kYNSAp1qJT923gSQ6hH3 for more excellent programs
  2. import webbrowser
  3. import time
  4. import pyperclip
  5. import subprocess
  6. start = time.clock()
  7. import winsound, sys
  8. # Python version, 3.x
  9. def main():
  10. print('This may slow down the computer for a bit, close any tabs for the time being.')
  11. print('Be sure you have a browser already up unless you want a ton of new windows.')
  12. input('Press enter when you are ready.')
  13. openbc = input('Is bitcoin open? >> ')
  14. if openbc == 'y':
  15. print('Okay, going on.')
  16. pass
  17. elif openbc == 'n':
  18. openbc1 = input('Do you want to open it >> ')
  19. if openbc1 == 'y':
  20. subprocess.Popen(r"C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe")
  21. print('Opening... ')
  22. input('Press enter when bitcoin is up.')
  23. time.sleep(3)
  24. elif openbc1 == 'n':
  25. print('Okay, going on.')
  26. pass
  27. print('\nOpening faucets... ')
  28. url = 'http://www.canhasbitcoin.com/'
  29. webbrowser.open(url)
  30. url2 = 'http://www.faucetbtc.com/'
  31. webbrowser.open(url2)
  32. url3 = 'http://www.elbitcoingratis.es/'
  33. webbrowser.open(url3)
  34. url4 = 'http://www.btc4you.com/'
  35. webbrowser.open(url4)
  36. url5 = 'http://www.freebtc4all.com/'
  37. webbrowser.open(url5)
  38. url6 = 'http://www.virtualfaucet.com/'
  39. webbrowser.open(url6)
  40. url7 = 'http://www.thefreebitcoins.com/'
  41. webbrowser.open(url7)
  42. url8 = 'http://www.freebitcoins.me/'
  43. webbrowser.open(url8)
  44. url9 = 'http://www.thebitcoin.me/'
  45. webbrowser.open(url9)
  46. url10 = 'http://www.rawbitcoins.com/'
  47. webbrowser.open(url10)
  48. url11 = 'http://www.nioctib.net/'
  49. webbrowser.open(url11)
  50. url12 = 'http://www.greencoins.org/'
  51. webbrowser.open(url12)
  52. url13 = 'http://www.btcmine.net'
  53. webbrowser.open(url13)
  54. url14 = 'http://www.freebitcoinlottery.com/'
  55. webbrowser.open(url14)
  56. url15 = 'http://www.bitcats.net/'
  57. webbrowser.open(url15)
  58. url16 = 'http://www.bitcoinspain.net/'
  59. webbrowser.open(url16)
  60. url17 = 'http://www.bitcoins4free.me/'
  61. webbrowser.open(url17)
  62. url18 = 'http://www.freeBitcoins4U.com/'
  63. webbrowser.open(url18)
  64. url19 = 'http://www.fr33Bitcoins.com/'
  65. webbrowser.open(url19)
  66. url20 = 'http://www.bitcoins4.me/'
  67. webbrowser.open(url20)
  68. url21 = 'http://www.redcoins.co/'
  69. webbrowser.open(url21)
  70. url22 = 'http://dailybitcoins.org/index.php?rid=655550'
  71. webbrowser.open(url22)
  72. print('\nCopying faucet BTC address to clipboard.')
  73. # Replace [BTC Address] with yours
  74. pyperclip.copy('[BTC Address]')
  75. spam = pyperclip.paste()
  76. time.sleep(1)
  77. opendaily = input('Do you want to open the daily sites? >> ')
  78. if opendaily == 'y':
  79. url23 = 'http://www.bithits.info/'
  80. webbrowser.open(url23)
  81. url24 = 'http://boklund.nu/bunnyrun/'
  82. webbrowser.open(url24)
  83. url25 = 'https://freecoins.herokuapp.com/'
  84. webbrowser.open(url25)
  85. pass
  86. elif opendaily == 'n':
  87. pass
  88. openviewing = input('Do you want to open the viewing sites sites? >> ')
  89. if openviewing == 'y':
  90. url26 = 'http://earnfreebitcoins.com/'
  91. webbrowser.open(url26)
  92. url27 = 'http://www.bitvisitor.com/'
  93. webbrowser.open(url27)
  94. url28 = 'http://coinreaper.com/'
  95. webbrowser.open(url28)
  96. pass
  97. elif openviewing == 'n':
  98. pass
  99. print('\nDone.')
  100. elapsed = (time.clock() - start)
  101. print(elapsed)
  102. again = input('Do you want to do this again in 30 minutes? >> ')
  103. if again == 'y':
  104. print('Okay, you will be asked to confirm once 30 minutes is up.')
  105. print("You'll hear a beep when time is up. Beep is as follows.")
  106. time.sleep(5)
  107. winsound.Beep(584, 999)
  108. print('\nStarting time... ')
  109. time.sleep(1800)
  110. winsound.Beep(584, 999)
  111. areusure = input('Okay, 30 minutes is up, are you sure you want to it again? >> ')
  112. if areusure == 'y':
  113. main()
  114. elif areusure == 'n':
  115. input('Okay, press enter to exit.')
  116. elif again == 'n':
  117. input('Okay, press enter to exit.')
  118. main()
  119. # Donate to 14LaojeCXkrQ19kYNSAp1qJT923gSQ6hH3 for more excellent programs

comments powered by Disqus