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
Would be nice if the normalizer could extract the normalized host:
http://domain.com.br/some_path -> http://www.domain.com.br/
http://domain.com.br/some_path
http://www.domain.com.br/
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
Just some notes for the sake of my memory
[1] pry(main)> require "twingly/url" [9] pry(main)> require "twingly/url/normalizer" [11] pry(main)> Twingly::URL::Normalizer.normalize("http://domain.com.br/some_path") => ["http://www.domain.com.br/some_path"] [12] pry(main)> Twingly::URL.parse("http://domain.com.br/some_path").url.origin => "http://domain.com.br"
Work with Twingly::URL objects instead of strings
3c6986b
...and maybe more. Related to #11, #31, #35.
Implement #origin
56178c2
Fixes #11
No branches or pull requests
Would be nice if the normalizer could extract the normalized host:
http://domain.com.br/some_path
->http://www.domain.com.br/
The text was updated successfully, but these errors were encountered: