]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/blobdiff - src/downloader.rb
Allow the downloaders to take advantage of the websites' headers.
[dead/whatever-dl.git] / src / downloader.rb
index 742e7928d371d4f01299c0330f50503e50ab2a7a..b9921e8ead9a999412d2061098c473afc834ebfc 100644 (file)
@@ -30,7 +30,7 @@ class Downloader
 
   
   # Abstract
-  def download(url, outfile, continue=false)
+  def download(url, outfile, headers = {}, continue = false)
     raise NotImplementedError
   end