]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/blobdiff - bin/whatever-dl
Allow the downloaders to take advantage of the websites' headers.
[dead/whatever-dl.git] / bin / whatever-dl
index 448db85289b0dcd0009d4c448184c5945d155ba9..f042b21b80e55f1d76dd0b74a40c91d8733ed645 100755 (executable)
@@ -135,6 +135,7 @@ if (__FILE__ == $0) then
   begin
     downloader.download(video_url,
                         site.get_video_filename(),
+                        site.headers(),
                         continue=options[:continue])
   rescue Errno::ECONNREFUSED => e
     puts 'The connection to the server (to download the video file) was refused. Check your connection, and try again later.'