server = {
"host": "http://nic.io/cgi-bin/whois",
"method": "http",
"http-method": "POST",
"http-arg": "query",
}
parse = {
"default": {
"NotFound": "DomainNotFound", #
"DomainID": "
Domain Handle : | \s+(\S+) | ",
"DomainName": "Domain Name : | \s+(\S+)",
"Status": " | Domain Status : | \s+(.+) | ",
"CreationDate": "First Registered : | \s+(\S+) | ",
"ExpirationDate": "Expiry : | \s+(\S+)",
"UpdatedDate": " | Last Updated : | \s+(\S+) | ",
"RegistrantID": "Domain Owner[\S\s]*?User ID : (\S+) | ",
"RegistrantOrganization": "Domain Owner[\S\s]*?Organization Name : (.*) | ",
"RegistrantName": "Domain Owner[\S\s]*?Contact Name : (.*) | ",
"RegistrantStreet": "Domain Owner[\S\s]*?Street : (.*) | ",
"RegistrantCity": "Domain Owner[\S\s]*?City : (.*) | ",
"RegistrantState": "Domain Owner[\S\s]*?State : (.*) | ",
"RegistrantPostalCode": "Domain Owner[\S\s]*?Postal Code : (.*) | ",
"RegistrantCountry": "Domain Owner[\S\s]*?Country: (.*) | ",
"AdminID": "Admin Contact[\S\s]*?User ID : (\S+) | ",
"AdminOrganization": "Admin Contact[\S\s]*?Organization Name : (.*) | ",
"AdminName": "Admin Contact[\S\s]*?Contact Name : (.*) | ",
"AdminStreet": "Admin Contact[\S\s]*?Street : (.*) | ",
"AdminCity": "Admin Contact[\S\s]*?City : (.*) | ",
"AdminState": "Admin Contact[\S\s]*?State : (.*) | ",
"AdminPostalCode": "Admin Contact[\S\s]*?Postal Code : (.*) | ",
"AdminCountry": "Admin Contact[\S\s]*?Country: (.*) | ",
"TechID": "Technical Contact[\S\s]*?User ID : (\S+) | ",
"TechOrganization": "Technical Contact[\S\s]*?Organization Name : (.*) | ",
"TechName": "Technical Contact[\S\s]*?Contact Name : (.*) | ",
"TechStreet": "Technical Contact[\S\s]*?Street : (.*) | ",
"TechCity": "Technical Contact[\S\s]*?City : (.*) | ",
"TechState": "Technical Contact[\S\s]*?State : (.*) | ",
"TechPostalCode": "Technical Contact[\S\s]*?Postal Code : (.*) | ",
"TechCountry": "Technical Contact[\S\s]*?Country: (.*) | ",
"BillingID": "Billing Contact[\S\s]*?User ID : (\S+) | ",
"BillingOrganization": "Billing Contact[\S\s]*?Organization Name : (.*) | ",
"BillingName": "Billing Contact[\S\s]*?Contact Name : (.*) | ",
"BillingStreet": "Billing Contact[\S\s]*?Street : (.*) | ",
"BillingCity": "Billing Contact[\S\s]*?City : (.*) | ",
"BillingState": "Billing Contact[\S\s]*?State : (.*) | ",
"BillingPostalCode": "Billing Contact[\S\s]*?Postal Code : (.*) | ",
"BillingCountry": "Billing Contact[\S\s]*?Country: (.*) | ",
"RegistrarID": "Registrar<[\S\s]*?User ID : (\S+) | ",
"RegistrarOrganization": "Registrar<[\S\s]*?Organization Name : (.*) | ",
"Registrar": "Registrar<[\S\s]*? Name : (.*) | ",
"RegistrarName": "Registrar<[\S\s]*? Name : (.*) | ",
"RegistrarStreet": "Registrar<[\S\s]*?Street : (.*) | ",
"RegistrarCity": "Registrar<[\S\s]*?City : (.*) | ",
"RegistrarState": "Registrar<[\S\s]*?State : (.*) | ",
"RegistrarPostalCode": "Registrar<[\S\s]*?Postal Code : (.*) | ",
"RegistrarCountry": "Registrar<[\S\s]*?Country: (.*) | ",
"NameServer": "Name Server: (\S+) | ",
}
}