Closed atomlong closed 2 years ago
The data returned by some 'ip_url' may be in the json format (http://ip-api.com/json/) or xml format (http://ip-api.com/xml/). This commit allows godns to extract a IP address from a complex string. Both IPv4 and IPv6 are supported.
A new commit pushed.
Thanks for your contribution!
The data returned by some 'ip_url' may be in the json format (http://ip-api.com/json/) or xml format (http://ip-api.com/xml/). This commit allows godns to extract a IP address from a complex string. Both IPv4 and IPv6 are supported.