]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/blob - bin/configuration.rb
Make headers a property of the website class rather than passing them to get_page_data.
[dead/whatever-dl.git] / bin / configuration.rb
1 module Configuration
2 # Configurable Options
3
4 # We support a couple of different download methods. The :openuri
5 # method utilizes the ruby open-uri library, and provides its own
6 # progress bar with no external dependencies. The :wget method, on the
7 # other hand, requires GNU Wget (http://www.gnu.org/software/wget/),
8 # but will support auto-resume of partially-downloaded files for
9 # example.
10 DOWNLOAD_METHOD = :openuri
11 #DOWNLOAD_METHOD = :wget
12
13 USER_AGENT = 'whatever-dl'
14 end