whois/parser.py
changeset 128 a63883d0a695
parent 127 49b60710c1eb
child 129 ac57dd5a6b20
equal deleted inserted replaced
127:49b60710c1eb 128:a63883d0a695
  1184         'domain_name':     'Domain: *(.+)',
  1184         'domain_name':     'Domain: *(.+)',
  1185         'creation_date':   'Registered: *(.+)',
  1185         'creation_date':   'Registered: *(.+)',
  1186         'expiration_date': 'Expires: *(.+)',
  1186         'expiration_date': 'Expires: *(.+)',
  1187         'dnssec':          'Dnssec: *(.+)',
  1187         'dnssec':          'Dnssec: *(.+)',
  1188         'status':          'Status: *(.+)',
  1188         'status':          'Status: *(.+)',
  1189         'name_servers'     'Nameservers\n *([\n\S\s]+)'
  1189         'name_servers':     'Nameservers\n *([\n\S\s]+)'
  1190     }
  1190     }
  1191 
  1191 
  1192     def __init__(self, domain, text):
  1192     def __init__(self, domain, text):
  1193         if 'No match for ' in text:
  1193         if 'No match for ' in text:
  1194             raise PywhoisError(text)
  1194             raise PywhoisError(text)