Closed EduardoRMello closed 3 years ago
The Problem: When I try to parse the result from whois 'zcore.tk' i found this error: "runtime error: index out of range [5] with length 5"
Steps to reproduce:
package main import ( likesianwhois "github.com/likexian/whois" whoisparser "github.com/likexian/whois-parser" ) func main(){ data, _ := likesianwhois.Whois("zcore.tk") parsed, _ := whoisparser.Parse(data) }
and the error will occurs... I can see that this domain returns five parts of address wich the last one is the country...
So, i send this PR to solve this problem adding a new field Country into array of fields.
+1
Hello @EduardoRMello Thanks for your PR, I will merge it.
If you think this repository is helpful, please share it with friends, thanks.
The Problem: When I try to parse the result from whois 'zcore.tk' i found this error: "runtime error: index out of range [5] with length 5"
Steps to reproduce:
and the error will occurs... I can see that this domain returns five parts of address wich the last one is the country...
So, i send this PR to solve this problem adding a new field Country into array of fields.