lib/wmap/google_search_scraper.rb
# Method to print out discovery Sites result
Method to print out discovery Sites result
Method to print out discovery Sites result
def print_discovered_sites_from_scraper		
		puts "Print discovered sites by the scraper. " if @verbose
		begin
			puts "\nSummary Report of Discovered Sites from the Scraper:"
			@discovered_sites_from_scraper.keys.each do |site|
				puts site
			end
			puts "Total: #{@discovered_sites_from_scraper.keys.size} site(s)"
			puts "End of the summary"
        rescue => ee
			puts "Error on method print_discovered_sites_from_scraper: #{ee}" if @verbose
        end
	end
def print_discovered_sites_from_scraper puts "Print discovered sites by the scraper. " if @verbose begin puts "\nSummary Report of Discovered Sites from the Scraper:" @discovered_sites_from_scraper . keys . each do | site | puts site end puts "Total: #{@discovered_sites_from_scraper.keys.size} site(s)" puts "End of the summary" rescue => ee puts "Error on method print_discovered_sites_from_scraper: #{ee}" if @verbose end end
Method to print out discovery Sites result
Method to print out discovery Sites result