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
Hi! In v0.7.7, robotstxt:::guess_domain("www.some-domain.com") returns www.some, also when prefixing http(s):// or suffixing /some/path/index.html.
see: #56
The text was updated successfully, but these errors were encountered:
to make the regex in parse_url() more general ...
parse_url()
... instead of (allowing hyphens) ...
stringr::str_match(url, "(^\\w+://)?([\\w.-]+)?(/.*)?")[, -1, drop = FALSE]
... use (only disallowing slashes):
stringr::str_match(url, "(^\\w+://)?([^/]+)?(/.*)?")[, -1, drop = FALSE]
Sorry, something went wrong.
6f3964e
Successfully merging a pull request may close this issue.
Hi! In v0.7.7, robotstxt:::guess_domain("www.some-domain.com") returns www.some, also when prefixing http(s):// or suffixing /some/path/index.html.
see: #56
The text was updated successfully, but these errors were encountered: