Skip to content

Commit

Permalink
.com.ua expects too much results for creation_date and status
Browse files Browse the repository at this point in the history
The parsers for both of those fields are doing the wrong thing: they are
grabbing lines in the regions of the whois output that are related to
contacts because the format of those lines is the same as for the
information pertaining to the domain itself.
  • Loading branch information
lelutin committed Jun 18, 2024
1 parent e65992d commit 817dc80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/samples/expected/google.com.ua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"domain_name": "google.com.ua", "expiration_date": "2024-12-04 00:00:00+02", "updated_date": "2023-11-02 11:52:29+02", "registrar": "MarkMonitor Inc.", "registrar_url": "http://markmonitor.com", "registrar_name": "ua.markmonitor", "registrar_country": "US", "registrar_city": "Meridian, Idaho", "registrar_address": "US 83642 Meridian, Idaho 2150 S. Bonito Way, Suite 150", "registrar_email": "[email protected]", "registrant_name": "Google LLC", "registrant_country": "US", "registrant_city": "Mountain View", "registrant_state": "CA", "registrant_address": "1600 Amphitheatre Parkway", "registrant_email": "[email protected]", "registrant_postal_code": "94043", "registrant_phone": "+1.6502530000", "registrant_fax": "+1.6502530001", "admin": "Google LLC", "admin_country": "US", "admin_city": "Mountain View", "admin_state": "CA", "admin_address": "1600 Amphitheatre Parkway", "admin_email": "[email protected]", "admin_postal_code": "94043", "admin_phone": "+1.6502530000", "admin_fax": "+1.6502530001", "creation_date": ["2002-12-04 00:00:00+02", "2018-02-27 21:07:26+02"], "status": ["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited", "ok", "linked"], "name_servers": ["ns1.google.com", "ns2.google.com", "ns3.google.com", "ns4.google.com"], "emails": ["[email protected]", "[email protected]"]}
{"domain_name": "google.com.ua", "expiration_date": "2024-12-04 00:00:00+02", "updated_date": "2023-11-02 11:52:29+02", "registrar": "MarkMonitor Inc.", "registrar_url": "http://markmonitor.com", "registrar_name": "ua.markmonitor", "registrar_country": "US", "registrar_city": "Meridian, Idaho", "registrar_address": "US 83642 Meridian, Idaho 2150 S. Bonito Way, Suite 150", "registrar_email": "[email protected]", "registrant_name": "Google LLC", "registrant_country": "US", "registrant_city": "Mountain View", "registrant_state": "CA", "registrant_address": "1600 Amphitheatre Parkway", "registrant_email": "[email protected]", "registrant_postal_code": "94043", "registrant_phone": "+1.6502530000", "registrant_fax": "+1.6502530001", "admin": "Google LLC", "admin_country": "US", "admin_city": "Mountain View", "admin_state": "CA", "admin_address": "1600 Amphitheatre Parkway", "admin_email": "[email protected]", "admin_postal_code": "94043", "admin_phone": "+1.6502530000", "admin_fax": "+1.6502530001", "creation_date": "2002-12-04 00:00:00+02", "status": ["clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited"], "name_servers": ["ns1.google.com", "ns2.google.com", "ns3.google.com", "ns4.google.com"], "emails": ["[email protected]", "[email protected]"]}

0 comments on commit 817dc80

Please sign in to comment.