title: How to normalize url's with parse_url?
body: <p>I'm trying to do very basic normalization and realize that to a large extent url normalization is an impossible task.</p>
  
  <p>Regardless, different search engines return the same search results with different schemes, hosts etc. What are the most basic parts I need to collect and can you collect more then one part with parse_url to leave only the vital parts of the url?  </p>
  
  <p>Results 1: <a href="http://dogs.com" rel="nofollow">http://dogs.com</a>
  Result 2: <a href="http://www.dogs.com" rel="nofollow">http://www.dogs.com</a></p>
  
  <p>Need t account for these kinds of inconsistencies that are possible and can be generated by different search engines</p>