added last modified as wekk

This commit is contained in:
Benjamyn Love 2017-07-28 11:19:34 +10:00
parent 51a921bbd0
commit 7a8c77eac9

View File

@ -107,10 +107,11 @@ def parseWhois(whioisInfo):
R = re.compile("^[Rr]")
U = re.compile("^[Uu]")
S = re.compile("Status")
L = re.compile("^[Ll]")
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):
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 "name" not in str and "ID" not in str:
if "ok" in str or "OK" in str: