From 77fb8be3ef8e3f51a2fd87a59e53f9579627c7c2 Mon Sep 17 00:00:00 2001 From: Benajmyn Love Date: Fri, 28 Jul 2017 11:35:10 +1000 Subject: [PATCH] Added elegibility type --- HTTPy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/HTTPy.py b/HTTPy.py index d6170bd..25a7c72 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -108,10 +108,11 @@ def parseWhois(whioisInfo): U = re.compile("^[Uu]") S = re.compile("Status") L = re.compile("^[Ll]") + E = re.compile("^[Ee]") for str in whioisInfo: 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) or E.match(str): if "domain" in str or "Domain" in str and "Name" not in str or "Status" in str: if "name" not in str and "ID" not in str: if "ok" in str or "OK" in str: