Method: CobwebModule::Crawl#already_crawled?

Defined in:
lib/crawl.rb

#already_crawled?(link = @options[:url]) ⇒ Boolean

Returns true if the url requested is already in the crawled queue

Returns:

  • (Boolean)


17
18
19
# File 'lib/crawl.rb', line 17

def already_crawled?(link=@options[:url])
  @redis.sismember "crawled", link
end