X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=lib%2Fwhatever-dl%2Fopen_uri_downloader.rb;h=a3a0c357154b92bf4ac1fb07f758215873c6c1e7;hb=1ce85761d9c5af706382c42e5d6c30dad46bf3ce;hp=e55c0fa7d0e60635b29b1d27b2f843f27da2d873;hpb=6de408333ceb0d142f8fa0fef2571228e89c8fc1;p=dead%2Fwhatever-dl.git diff --git a/lib/whatever-dl/open_uri_downloader.rb b/lib/whatever-dl/open_uri_downloader.rb index e55c0fa..a3a0c35 100644 --- a/lib/whatever-dl/open_uri_downloader.rb +++ b/lib/whatever-dl/open_uri_downloader.rb @@ -16,7 +16,7 @@ # http://www.fsf.org/licensing/licenses/gpl.html # -require 'src/uri_utilities' +require 'whatever-dl/uri_utilities' class OpenUriDownloader < Downloader @@ -26,12 +26,12 @@ class OpenUriDownloader < Downloader end uri = URI.parse(url) - + uu = UriUtilities.new() puts "Fetching #{url}" puts "Saving as #{outfile}." puts '' uu.download_with_progress_bar(uri, outfile, headers) end - + end