Skip to content
New issue

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

fails to extract with path #32

Open
ashubham opened this issue Nov 22, 2023 · 1 comment
Open

fails to extract with path #32

ashubham opened this issue Nov 22, 2023 · 1 comment

Comments

@ashubham
Copy link

extractDomain(["mother.com/q/s"])

Output should be: mother.com but instead it is mother.com/q/s.

@bjarneo
Copy link
Owner

bjarneo commented Nov 22, 2023

I understand your issue here, but this is not a complete URL.

As described in the readme: https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL

However, of course it would be nice to support a case like this as well, so I will keep the issue open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants