Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

schiphol

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schiphol

  • 1.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 22 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc