LayeredStudio / whoiser

🌍 Easy to use WHOIS info for domains, TLDs and IPs
MIT License
202 stars 29 forks source link

Incorrect Dates for .it TLDs #91

Closed jonathansampson closed 1 year ago

jonathansampson commented 1 year ago

Current parsing approach combines various Created values (e.g. Created, Registrant Created, and Admin Contact Created) to create a single, invalid date string. Other structural issues exist as well.

{
  "whois.nic.it": {
    "Domain Status": [ "ok" ],
    "Name Server": [
      "ns1.google.com",
      "ns2.google.com",
      "ns3.google.com",
      "ns4.google.com"
    ],
    "Domain Name": "google.it",
    "Signed": "no",
    "Created Date": "1999-12-10 00:00:00 2018-03-02 19:04:02 2022-05-18 21:12:35 2017-12-21 19:54:04",
    "Updated Date": "2022-05-18 21:29:19 2018-03-02 19:04:02 2022-05-18 21:12:35 2017-12-21 19:54:04",
    "Expiry Date": "2023-04-21",
    "Organization": "Google Ireland Holdings Unlimited Company Google LLC Google LLC",
    "Address": "70 Sir John Rogerson's Quay 1600 Amphitheatre Parkway 1600 Amphitheatre Parkway",
    "Name": "Rajiv Prasad Domain Administrator",
    "Registrar": "MarkMonitor International Limited MARKMONITOR-REG",
    "Registrar Web": "https://www.markmonitor.com/",
    "Registrar DNSSEC": "no",
    "text": [
      "*********************************************************************",
      "* Please note that the following result could be a subgroup of      *",
      "* the data contained in the database.                               *",
      "*                                                                   *",
      "* Additional information can be visualized at:                      *",
      "* http://web-whois.nic.it                                           *",
      "*********************************************************************",
      "Registrant",
      "Dublin",
      "2",
      "Dublin",
      "IE",
      "",
      "Admin Contact",
      "Mountain View",
      "94043",
      "CA",
      "US",
      "",
      "Technical Contacts",
      "Mountain View",
      "94043",
      "CA",
      "US"
    ]
  }
}