likexian / whois-parser

Whois parser for domain whois information parsing in Go(Golang).
Apache License 2.0
284 stars 86 forks source link

Parsing whois.iis.se responses when the domain is not found fails to return ErrNotFoundDomain #56

Closed linkdata closed 1 year ago

linkdata commented 1 year ago

The response from whois.iis.se for the domain doesnotexist.se, leading # comments removed:

domain "doesnotexist.se" not found.

Result of calling whoisparser.Parse("domain \"doesnotexist.se\" not found.")

{
  "domain": {
    "name": "\"doesnotexist",
    "extension": "se\""
  }
}

Run it on the playgound: https://play.golang.com/p/b3dcwFveAiS

likexian commented 1 year ago

Hello @linkdata Thanks for your feedback and PRs https://github.com/likexian/whois-parser/pull/58.