diff --git a/whois/tlds/ly b/whois/tlds/ly new file mode 100644 index 0000000..538c0a5 --- /dev/null +++ b/whois/tlds/ly @@ -0,0 +1,16 @@ +server = { + "host": "ly.whois-servers.net", + "redirect": "\s+Whois Server: (.*)", +} + +parse = { + "default": { + "NotFound": "Not Found", # + "DomainName": "Domain Name:\s+((?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9])", + "Status": "Domain Status:\s+([a-zA-Z.]*)", + "CreationDate": "Created:\s+(\S+)", + "ExpirationDate": "Expired:\s+(\S+)", + "UpdatedDate": "Updated:\s+(\S+)", + "RegistrantName": "Registrant:(\S+)\s+([a-zA-Z0-9./(), -]*)(\S+)\s+([a-zA-Z0-9./(), -]*)(\S+)\s+([a-zA-Z0-9./(), -]*)(\S+)\s+([a-zA-Z0-9./(), -]*)(\S+)\s+([a-zA-Z0-9./(), -]*)(\S+)\s+([a-zA-Z0-9./(), -]*)(\S+)\s+([a-zA-Z0-9./: ]*)(\S+)\s+([a-zA-Z0-9.: ]*)(\S+)\s+([a-zA-Z0-9./@ -]*)", + } +}