Make red color if expired
This commit is contained in:
parent
a86b5a45c3
commit
1f6485b643
5
HTTPy.py
5
HTTPy.py
@ -117,7 +117,10 @@ def parseWhois(whioisInfo):
|
||||
else:
|
||||
print bcolors.RED + str + bcolors.RESET
|
||||
else:
|
||||
print str
|
||||
if "Expired" in str or "expired" in str:
|
||||
print bcolors.RED + str + bcolors.RESET
|
||||
else:
|
||||
print str
|
||||
|
||||
def whois(inDomain):
|
||||
lookup = subprocess.check_output(["whois", inDomain])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user