Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- # Refresh Bot
- # Haunui Collin "aDn"
- title = '----------------------------------------'
- print title
- print 'Python Refresh Bot'
- print title
- print 'How many refresh ? : '
- r = input()
- r = int(r)
- myurl=raw_input("Enter URL: ")#target url
- while r > 1:
- r = r - 1
- print r
- import urllib
- maPage = urllib.urlopen(myurl)
- if r == 1:
- print title
- finish=raw_input("Refresh Bot Finish His Job. Click Enter To Exit")
- exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement