diff --git a/HTTPy.py b/HTTPy.py index cab18c9..1234d33 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -10,6 +10,8 @@ import subprocess #Make this work with linux magic +count = 0 + currtag = "" conf_temp = "pre" #URL https://www.whois.com/whois/benjamyn-testing.com @@ -50,7 +52,11 @@ print partDomain lookup = subprocess.check_output(["whois", domain]) print "========================================================" -print lookup +test = lookup.split("\n") + +while count != len(test): + print count, test[count] + count = count + 1 #conn = httplib.HTTPSConnection("www.whois.com") #conn.request("GET", "/whois/" + domain)