lib/ero_getter/downloader/base.rb in ero_getter-0.1.3 vs lib/ero_getter/downloader/base.rb in ero_getter-0.1.4

- old
+ new

@@ -1,7 +1,8 @@ require 'active_support/inflector' require 'httpclient' require 'nokogiri' +require 'open-uri' class EroGetter::Downloader::Base def initialize(url, direction = 0) raise unless url.match url_regex @url = url