lib/wmap/url_crawler.rb
# Method to print out discovery URL result
Method to print out discovery URL result
Method to print out discovery URL result
def print_discovered_urls_by_crawler
		puts "Print discovered url by the crawler. " if @verbose
		puts "\nSummary Report of Discovered URLs from the Crawler:"
		@discovered_urls_by_crawler.keys.each do |url|
			puts url
		end
		puts "Total: #{@discovered_urls_by_crawler.keys.size}"
		puts "End of the summary"
  rescue => ee
    puts "Exception on method #{__method__}: #{ee}" if @verbose
    return nil
	end
def print_discovered_urls_by_crawler puts "Print discovered url by the crawler. " if @verbose puts "\nSummary Report of Discovered URLs from the Crawler:" @discovered_urls_by_crawler . keys . each do | url | puts url end puts "Total: #{@discovered_urls_by_crawler.keys.size}" puts "End of the summary" rescue => ee puts "Exception on method #{__method__}: #{ee}" if @verbose return nil end
Method to print out discovery URL result
Method to print out discovery URL result