This commit is contained in:
Benjamyn Love 2017-07-28 11:21:06 +10:00
parent 7a8c77eac9
commit c545eb7681

View File

@ -113,7 +113,7 @@ def parseWhois(whioisInfo):
str = str.strip() str = str.strip()
if NS.match(str) or D.match(str) or R.match(str) or U.match(str) or S.match(str) or L.match(str): if NS.match(str) or D.match(str) or R.match(str) or U.match(str) or S.match(str) or L.match(str):
if "domain" in str or "Domain" in str and "Name" not in str: if "domain" in str or "Domain" in str and "Name" not in str:
if "name" not in str and "ID" not in str: if "name" not in str and "ID" not in str or "Status" in str:
if "ok" in str or "OK" in str: if "ok" in str or "OK" in str:
print bcolors.GREEN + str + bcolors.RESET print bcolors.GREEN + str + bcolors.RESET
else: else: