12 13 14 15 16 17
# File 'lib/rcrawler/cli.rb', line 12 def sc(url) filename = options.fetch("output", "#{Digest::SHA1.hexdigest(url)}.png") RCrawler.crawl do screenshot(url, filename) end end