lib/wmap/url_crawler.rb
# Return the destination url in case of url re-direct
Return the destination url in case of url re-direct
Return the destination url in case of url re - direct
def update_url_if_redirected(url, url_object)
		if url != url_object.base_uri.to_s
			return url_object.base_uri.to_s
		end
		return url
  rescue => ee
    puts "Exception on method #{__method__}: #{ee}" if @verbose
    return nil
  end
def update_url_if_redirected ( url , url_object ) if url != url_object . base_uri . to_s return url_object . base_uri . to_s end return url rescue => ee puts "Exception on method #{__method__}: #{ee}" if @verbose return nil end
Return the destination url in case of url re-direct
Return the destination url in case of url re - direct
#puts "Comparing the original URL with the return object base_uri. Return the one where the true content is found. " if @verbose
url
<not_specific>
url_object
<not_specific>