diff --git a/HTTPy.py b/HTTPy.py index 8b28ff1..1084358 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -110,8 +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: - if "ok" in str: + if "domain" in str or "Domain" in str: + if "ok" in str or "OK" in str: print bcolors.GREEN + str + bcolors.RESET else: print bcolors.RED + str + bcolors.RESET