# HG changeset patch # User Wolfeg # Date 1528758962 -25200 # Node ID a0cfedec84af9f33d7e1995b75f1a52f46dd0977 # Parent 0ab7f8a39d9bd2dcf16533cedaf77c458e33510b updated .io diff -r 0ab7f8a39d9b -r a0cfedec84af whois/parser.py --- a/whois/parser.py Tue Jun 12 06:04:13 2018 +0700 +++ b/whois/parser.py Tue Jun 12 06:16:02 2018 +0700 @@ -1050,13 +1050,19 @@ """Whois parser for .io domains """ regex = { - 'status': 'Status\s*: *(.+)', - 'name_servers': 'NS \d?\s*: *(.+)', - #'owner': 'Owner\s*: *(.+)', - 'owner': 'Owner OrgName\s*: *(.+)', - 'expiration_date': 'Expiry\s*: *(.+)', - 'domain_name': 'Domain\s*: *(.+)', - 'registrar': r'Check for \'[\w\.]*\' --- (.+)', + 'domain_name': 'Domain Name: *(.+)', + 'domain__id': 'Registry Domain ID: *(.+)', + 'registrar': 'Registrar: *(.+)', + 'registrar_id': 'Registrar IANA ID: *(.+)', + 'registrar_url': 'Registrar URL: *(.+)', + 'status': 'Domain Status: *(.+)', + 'registrant_name': 'Registrant Organization: *(.+)', + 'registrant_state_province': 'Registrant State/Province: *(.+)', + 'registrant_country': 'Registrant Country: *(.+)', + 'name_servers': 'Name Server: *(.+)', + 'creation_date': 'Creation Date: *(.+)', + 'expiration_date': 'Registry Expiry Date: *(.+)', + 'updated_date': 'Updated Date: *(.+)', } def __init__(self, domain, text): @@ -1481,7 +1487,7 @@ 'creation_date': 'Creation Date: *(.+)', 'expiration_date': 'Registry Expiry Date: *(.+)', 'updated_date': 'Updated Date: *(.+)', - 'dnssec': 'DNSSEC: *([\S]+)' + 'dnssec': 'DNSSEC: *([\S]+)', } def __init__(self, domain, text):