Faucet opener


SUBMITTED BY: Guest

DATE: Nov. 29, 2013, 3:36 p.m.

FORMAT: Text only

SIZE: 2.8 kB

HITS: 732

  1. # The module pyperclip can be downloaded here:
  2. # http://coffeeghost.net/src/pyperclip.py
  3. # save the file as 'pyperclip.py' and keep it in the same directory
  4. # as this code
  5. # Python version, 3.x
  6. import webbrowser
  7. import time
  8. import pyperclip
  9. import subprocess
  10. start = time.clock()
  11. print('This may slow down the computer for a bit, close any tabs for the time being.')
  12. print('Be sure you have a browser already up unless you want a ton of new windows.')
  13. input('Press enter when you are ready.')
  14. openbc = input('Is bitcoin open? >> ')
  15. if openbc == 'y':
  16. print('Okay, going on.')
  17. pass
  18. elif openbc == 'n':
  19. openbc1 = input('Do you want to open it >> ')
  20. if openbc1 == 'y':
  21. subprocess.Popen(r"C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe")
  22. input('Press enter when bitcoin is up.')
  23. time.sleep(3)
  24. pass
  25. elif openbc1 == 'n':
  26. print('Okay, going on.')
  27. pass
  28. print('Opening... ')
  29. url = 'http://www.canhasbitcoin.com/'
  30. webbrowser.open(url)
  31. url2 = 'http://www.faucetbtc.com/'
  32. webbrowser.open(url2)
  33. url3 = 'http://www.elbitcoingratis.es/'
  34. webbrowser.open(url3)
  35. url4 = 'http://www.btc4you.com/'
  36. webbrowser.open(url4)
  37. url5 = 'http://www.freebtc4all.com/'
  38. webbrowser.open(url5)
  39. url6 = 'http://www.virtualfaucet.com/'
  40. webbrowser.open(url6)
  41. url7 = 'http://www.thefreebitcoins.com/'
  42. webbrowser.open(url7)
  43. url8 = 'http://www.freebitcoins.me/'
  44. webbrowser.open(url8)
  45. url9 = 'http://www.thebitcoin.me/'
  46. webbrowser.open(url9)
  47. url10 = 'http://www.rawbitcoins.com/'
  48. webbrowser.open(url10)
  49. url11 = 'http://www.nioctib.net/'
  50. webbrowser.open(url11)
  51. url12 = 'http://www.greencoins.org/'
  52. webbrowser.open(url12)
  53. url13 = 'http://www.btcmine.net'
  54. webbrowser.open(url13)
  55. url14 = 'http://www.freebitcoinlottery.com/'
  56. webbrowser.open(url14)
  57. url15 = 'http://www.bitcats.net/'
  58. webbrowser.open(url15)
  59. url16 = 'http://www.bitcoinspain.net/'
  60. webbrowser.open(url16)
  61. url17 = 'http://www.bitcoins4free.me/'
  62. webbrowser.open(url17)
  63. url18 = 'http://www.freeBitcoins4U.com/'
  64. webbrowser.open(url18)
  65. url19 = 'http://www.fr33Bitcoins.com/'
  66. webbrowser.open(url19)
  67. print('\nCopying faucet BTC address to clipboard.')
  68. # Enter your bitcoin address in the correct spot
  69. pyperclip.copy('[Enter your bitcoin address here')
  70. spam = pyperclip.paste()
  71. time.sleep(1)
  72. print('Done.')
  73. elapsed = (time.clock() - start)
  74. print(elapsed)
  75. # Donate to 14LaojeCXkrQ19kYNSAp1qJT923gSQ6hH3 for more excellent programs

comments powered by Disqus