Zensavona / domainatrex

:smiling_imp: A library for parsing TLDs from urls in Elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

{:error, "Cannot parse: invalid domain"} for TLDs

bortzmeyer opened this issue · comments

iex(1)> Domainatrex.parse("com")        
{:error, "Cannot parse: invalid domain"}
iex(2)> Domainatrex.parse("fr") 
{:error, "Cannot parse: invalid domain"}

Those are not valid TLDs on their own, no?

Those are not valid TLDs on their own, no?

Of course they are valid TLD, I don't understand your reply.