whois/parser.py
branchwhois_in
changeset 138 f8c4b2f6355b
parent 137 565c0268bc39
child 141 ec0994c0a2a0
equal deleted inserted replaced
137:565c0268bc39 138:f8c4b2f6355b
  1290         'status':           'Status: *(.+)',
  1290         'status':           'Status: *(.+)',
  1291         'emails':           EMAIL_REGEX,
  1291         'emails':           EMAIL_REGEX,
  1292     }
  1292     }
  1293 
  1293 
  1294     def __init__(self, domain, text):
  1294     def __init__(self, domain, text):
  1295         if 'No entries found' in text:
  1295         if 'NOT FOUND' in text:
  1296             raise PywhoisError(text)
  1296             raise PywhoisError(text)
  1297         else:
  1297         else:
  1298             WhoisEntry.__init__(self, domain, text, self.regex)
  1298             WhoisEntry.__init__(self, domain, text, self.regex)