Make red color if expired
This commit is contained in:
parent
a86b5a45c3
commit
1f6485b643
3
HTTPy.py
3
HTTPy.py
@ -116,6 +116,9 @@ def parseWhois(whioisInfo):
|
|||||||
print bcolors.GREEN + str + bcolors.RESET
|
print bcolors.GREEN + str + bcolors.RESET
|
||||||
else:
|
else:
|
||||||
print bcolors.RED + str + bcolors.RESET
|
print bcolors.RED + str + bcolors.RESET
|
||||||
|
else:
|
||||||
|
if "Expired" in str or "expired" in str:
|
||||||
|
print bcolors.RED + str + bcolors.RESET
|
||||||
else:
|
else:
|
||||||
print str
|
print str
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user