--- a/whois/parser.py Wed Jun 15 09:39:05 2016 +0100
+++ b/whois/parser.py Mon Jun 27 17:00:26 2016 +0000
@@ -457,8 +457,17 @@
"""Whois parser for .ca domains
"""
regex = {
- 'registrant_name': 'Name: *(.+)',
+ 'domain_name': 'Domain name: *(.+)',
+ 'registrant_name': '(?<!Domain) Name: *(.+)',
'registrant_number': 'Number: *(.+)\n',
+ 'domain_status': 'Domain status: *(.+)',
+ 'emails': 'Email: *(.+)',
+ 'updated_date': 'Updated Date: *(.+)',
+ 'creation_date': 'Creation Date: *(.+)',
+ 'expiration_date': 'Expiry Date: *(.+)',
+ 'phone': 'Phone: *(.+)',
+ 'fax': 'Fax: *(.+)',
+ 'dnssec': 'dnssec: *([\S]+)'
}
def __init__(self, domain, text):