Whois Parser error for ORG/NET URLs

304 Views Asked by At

I have checking the whois information for .org/.net/.ae sites. While parsing it was giving error.

This is my code part:

record = Whois.whois(url)
date = record.created_on

Its giving the following error

Whois::ParserError: Unexpected token: Access to .ORG

What is the issue here. Its working for .com URLs.

1

There are 1 best solutions below

0
Simone Carletti On BEST ANSWER

The issue has been fixed in this pull-request and I've released a new version today. Make sure to use the v3.4.4.