Finally decided to use whois.com as there output is not aids
This commit is contained in:
parent
f230a5bb80
commit
55cad59af8
4
HTTPy.py
4
HTTPy.py
@ -12,7 +12,7 @@ class MyHTMLParser(HTMLParser):
|
||||
global conf_temp
|
||||
global starttag
|
||||
if tag == conf_temp:
|
||||
# starttag = tag
|
||||
# starttag = tag
|
||||
for name, value in attrs:
|
||||
if name == "class" and value == "df-raw":
|
||||
print tag
|
||||
@ -33,7 +33,7 @@ class MyHTMLParser(HTMLParser):
|
||||
|
||||
|
||||
conn = httplib.HTTPSConnection("www.whois.com")
|
||||
conn.request("GET", "/whois/benjamyn-testing.com")
|
||||
conn.request("GET", "/whois/ventraip.com.au")
|
||||
r1 = conn.getresponse()
|
||||
parser = MyHTMLParser()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user