Nokogiri for canonical href parsing