Hope this works

This commit is contained in:
Benjamyn Love 2017-07-28 00:34:02 +10:00
parent b52d5764fb
commit bee024ba13

View File

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