whois/parser.py
changeset 130 342b440137ce
parent 129 ac57dd5a6b20
child 132 7666f0765fe4
child 133 29e9190319e5
equal deleted inserted replaced
129:ac57dd5a6b20 130:342b440137ce
   821         'address': 'Address: *(.+)',
   821         'address': 'Address: *(.+)',
   822         'zipcode': 'PostalCode: *(.+)',
   822         'zipcode': 'PostalCode: *(.+)',
   823         'city': 'City: *(.+)',
   823         'city': 'City: *(.+)',
   824         'country_code': 'CountryCode: *(.+)',
   824         'country_code': 'CountryCode: *(.+)',
   825         'phone': 'Phone: *(.+)',
   825         'phone': 'Phone: *(.+)',
   826         'fax': 'Fax: *(.+)'
   826         'fax': 'Fax: *(.+)',
       
   827         'emails': EMAIL_REGEX  # list of email addresses
       
   828 
   827     }
   829     }
   828 
   830 
   829     def __init__(self, domain, text):
   831     def __init__(self, domain, text):
   830         if 'Status: free' in text:
   832         if 'Status: free' in text:
   831             raise PywhoisError(text)
   833             raise PywhoisError(text)