this is getting rediculous

This commit is contained in:
Benjamyn Love 2017-07-28 00:28:47 +10:00
parent b626c6af07
commit b52d5764fb

View File

@ -110,7 +110,7 @@ def parseWhois(whioisInfo):
for str in whioisInfo: for str in whioisInfo:
str = str.strip() str = str.strip()
if NS.match(str) or D.match(str) or R.match(str) or U.match(str): if NS.match(str) or D.match(str) or R.match(str) or U.match(str):
if "domain" in str or "Domain" in str: if "domain" in str or "Domain" in str and "Name" not in str and "name" not 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: