Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (8 sloc) 263 Bytes
require "bundler/setup"
$: << File.join(File.dirname(__FILE__), 'lib')
require 'grabber'
page_url, dest_folder = ARGV
include Grab
source = ImageSource.new(page_url)
downloader = Downloader.new(FileSaver.new(dest_folder))
Grabber.new(source, downloader).run