Finished basic addition of uk domain lookups, need to figure out how to properly do it

This commit is contained in:
benjamyn committed 2018-02-28 16:17:40 +11:00
1 parent 455b821fde
commit 628f96d293
4 files changed
+14 -13

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
['__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'chooseServer', 'query', 'sendHTTPQuery', 'sendQuery']
{'Status': ['Registered until expiry date.'], 'UpdatedDate': ['29-Apr-2017'], 'Registrar': ['Nom-IQ Limited t/a Com Laude [Tag = NOMIQ]'], 'ExpirationDate': ['03-May-2018'], 'DomainName': ['amamzon.co.uk'], 'NameServer': ['pdns1.ultradns.net'], 'CreationDate': ['03-May-2001'], 'RegistrantName': ['Amazon Europe Core S.?.r.l.']}
+1 -1
View File
@@ -6,7 +6,7 @@ from whois import whois
from whois import parser
print dir(whois)
domain = "example.com"
domain = "amamzon.co.uk"
w = whois(domain, True)
t = w.query(False)
p = parser.Parser(domain, t[1], t[0], True)