Schiphol

... is a smart downloader script for Ruby, with

  • Automatic file type resolution w/ MIMEs.
  • Progress bar for downloads, with ETA.
  • Downloads and extracts ZIP archives.
  • Automatically retry downloads N times.

Install

gem install schiphol

Usage

Basic

It can't get simpler.

require 'schiphol'

Schiphol.download('http://www.url.com/path/to/file.html')

Advanced

The options shown are the default values.

require 'schiphol'

Schiphol.download(
  'http://www.url.com/path/to/file.html',
  :download_folder => './my_downloads',
  :target_directory => '',
  :show_progress => true,
  :rectify_extensions => false,
  :max_tries => 3
)

License

This software is released under the GPL.