Added create/expire times if available
This commit is contained in:
parent
ff33deedf4
commit
77662bdc3e
@ -14,6 +14,8 @@ class WhoIS():
|
|||||||
self.registrant = self.buildRegistrantInfo(whoisData)
|
self.registrant = self.buildRegistrantInfo(whoisData)
|
||||||
self.nameservers = self.splitNameservers(
|
self.nameservers = self.splitNameservers(
|
||||||
whoisData.get('NameServer'))
|
whoisData.get('NameServer'))
|
||||||
|
self.createDate = whoisData.get('CreationDate')
|
||||||
|
self.expireDate = whoisData.get('ExpirationDate')
|
||||||
# self.nameservers = whoisData.get('NameServer')
|
# self.nameservers = whoisData.get('NameServer')
|
||||||
|
|
||||||
def buildRegistrantInfo(self, whoisData):
|
def buildRegistrantInfo(self, whoisData):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user