We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to parse url: 'https://something.github.io',
github.io is in https://publicsuffix.org/list/public_suffix_list.dat
But I'm getting that domain is github.io and subdomain is something.
But it should be domain 'something.github.io' and subdomain empty
Using latest 6.1.84 version
The text was updated successfully, but these errors were encountered:
Hi, you need to use the { allowPrivateDomains: true } option with parse(...) to enable the use of github.io and others which are part of the "PRIVATE" section of the public suffix list. More examples there: https://github.com/remusao/tldts/blob/master/packages/tldts/README.md#api
{ allowPrivateDomains: true }
parse(...)
github.io
Sorry, something went wrong.
Indeed, somehow missed this! Thanks and closing
No branches or pull requests
I'm trying to parse url: 'https://something.github.io',
github.io is in https://publicsuffix.org/list/public_suffix_list.dat
But I'm getting that domain is github.io and subdomain is something.
But it should be domain 'something.github.io' and subdomain empty
Using latest 6.1.84 version
The text was updated successfully, but these errors were encountered: