From 55cad59af8720b5c47422e8dbe583b0789eb0c45 Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 22 May 2017 02:29:02 +1000 Subject: [PATCH] Finally decided to use whois.com as there output is not aids --- HTTPy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HTTPy.py b/HTTPy.py index a48045d..bc57a6c 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -12,11 +12,11 @@ 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 - starttag = tag + starttag = tag # pass #print starttag @@ -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()