lib/wmap/google_search_scraper.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_from_scraper		
		puts "Print discovered urls by the scraper. " if @verbose
		begin
			puts "\nSummary Report of Discovered URLs from the Scraper:"
			@discovered_urls_from_scraper.keys.each do |url|
				puts url
			end
			puts "Total: #{@discovered_urls_from_scraper.keys.size} url(s)"
			puts "End of the summary"
        rescue => ee
			puts "Error on method print_discovered_urls_from_scraper: #{ee}" if @verbose
        end
	end
def print_discovered_urls_from_scraper puts "Print discovered urls by the scraper. " if @verbose begin puts "\nSummary Report of Discovered URLs from the Scraper:" @discovered_urls_from_scraper . keys . each do | url | puts url end puts "Total: #{@discovered_urls_from_scraper.keys.size} url(s)" puts "End of the summary" rescue => ee puts "Error on method print_discovered_urls_from_scraper: #{ee}" if @verbose end end
Method to print out discovery URL result
Method to print out discovery URL result