Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!usr/bin/python
- #author : Darklest
- #Title : Domain Checker
- import urllib2
- while(1):
- domain = raw_input("Enter Domain (ex: somesite.com) : ")
- url = "http://www.checkdomain.com/cgi-bin/checkdomain.pl?domain="+domain
- req = urllib2.urlopen(url).read()
- if "still available!" in req:
- print domain+" is Available"
- elif "already been registered" in req:
- print domain+" not Available"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement