Ruby library for wget

Is there a ruby library for wget ? I searched on google but couldn’t
find any. Specifically, I’m trying to download a bunch of urls with the
command:
wget -c --no-check-certificate

The -c switch is very important because my connection tends to get
interrupted frequently.

On 07/20/2012 02:55 PM, Alan S. wrote:

Is there a ruby library for wget ? I searched on google but couldn’t
find any. Specifically, I’m trying to download a bunch of urls with the
command:
wget -c --no-check-certificate

The -c switch is very important because my connection tends to get
interrupted frequently.

checkout rwget | RubyGems.org | your community gem host
I"ve not used it, but give it a shot.

There is a ruby library for curl (curb), does curl support an equivalent
of
the -c option?

Why don’t you run the command yourself inside ruby and save the
response? :slight_smile: