lib/email_crawler.rb in email_crawler-0.0.9 vs lib/email_crawler.rb in email_crawler-0.0.10
- old
+ new
@@ -20,10 +20,10 @@
@google_website = google_website
yield(self)
end
def run(q)
- urls = Scraper.new(@google_website, @max_results).search_result_urls_for(q)
+ urls = Scraper.new(@google_website, max_results: @max_results).search_result_urls_for(q)
urls.each { |url| logger.info "#{url}" }
queue = Queue.new
urls.each { |url| queue.push(url) }
links_by_url = ThreadSafe::Array.new