X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=lib%2Fwhatever-dl%2Fconfiguration.rb;fp=lib%2Fwhatever-dl%2Fconfiguration.rb;h=60066cca0c4ea652b87dc3714dbea961aba485b1;hb=6de408333ceb0d142f8fa0fef2571228e89c8fc1;hp=0000000000000000000000000000000000000000;hpb=8e886df259246365023322b78f58e4037cb536a4;p=dead%2Fwhatever-dl.git diff --git a/lib/whatever-dl/configuration.rb b/lib/whatever-dl/configuration.rb new file mode 100644 index 0000000..60066cc --- /dev/null +++ b/lib/whatever-dl/configuration.rb @@ -0,0 +1,14 @@ +module Configuration + # Configurable Options + + # We support a couple of different download methods. The :openuri + # method utilizes the ruby open-uri library, and provides its own + # progress bar with no external dependencies. The :wget method, on the + # other hand, requires GNU Wget (http://www.gnu.org/software/wget/), + # but will support auto-resume of partially-downloaded files for + # example. + DOWNLOAD_METHOD = :openuri + #DOWNLOAD_METHOD = :wget + + USER_AGENT = 'whatever-dl' +end