LayeredStudio / whoiser

🌍 Easy to use WHOIS info for domains, TLDs and IPs
MIT License
202 stars 29 forks source link

Bug/Exception in .ma TLD #103

Open RifHut opened 1 year ago

RifHut commented 1 year ago

I installed the last version, i get when checking the available .ma domain ! but in dmns.app work fine ! image PoC : image

AndreiIgna commented 11 months ago

hey @RifHut

The example in domain-availability.js file is only a basic one and works best with .com, .net, .org and a few others.

The whoiser library returns raw WHOIS info, and dmns.app does more checks for the other fields, Domain Status in this case:

Screenshot 2023-10-19 at 21 44 23

Maybe in future we'll implement a helper function checkDomainAvailability(whoisData), but before adding something like this, the library needs to handle whois parsing for more TLDs

magnussentio commented 3 months ago

Just wanted to ping this, it would be great to add a quick code example for domain availability for other extensions like .ai, I've been trying to implement this but struggling.