]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/blobdiff - bin/configuration.rb
Added configurable downloaders.
[dead/whatever-dl.git] / bin / configuration.rb
diff --git a/bin/configuration.rb b/bin/configuration.rb
new file mode 100644 (file)
index 0000000..ad942c7
--- /dev/null
@@ -0,0 +1,12 @@
+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
+end