Project

schiphol

0.02
No commit activity in last 3 years
No release in over 3 years
Schiphol is a Ruby downloader script with progress bar, retries, MIME type detection and ZIP file extraction.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.10.0
~> 0.9.9
 Project Readme

Schiphol

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

  • Progress bar for downloads, with ETA.
  • Following for 301/302 redirect links.
  • Automatic file type resolution w/ MIMEs.
  • Automatic retries for failed downloads.

Install

gem install schiphol

Usage

Basic

It can't get simpler.

require 'schiphol'

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

Advanced

require 'schiphol'

Schiphol.download(
  'http://www.url.com/path/to/file.html',
  # Default values
  :download_folder => '$GEM$/lib/downloads',
  :target_directory => '',
  :show_progress => true,
  :rectify_extensions => false,
  :max_tries => 3
)

Where $GEM$ represents the gem's directory.

License

This software is released under the GPL.