]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/blobdiff - lib/whatever-dl/configuration.rb
Move all of the 'src' code under the more-standard 'lib'.
[dead/whatever-dl.git] / lib / whatever-dl / configuration.rb
diff --git a/lib/whatever-dl/configuration.rb b/lib/whatever-dl/configuration.rb
new file mode 100644 (file)
index 0000000..60066cc
--- /dev/null
@@ -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