# Ruby library for wget

**URL:** <https://rubytalk.org/t/ruby-library-for-wget/65928>\
**Category:** ruby-talk\
**Created:** [20 July 2012 09:25 UTC](https://rubytalk.org/t/ruby-library-for-wget/65928 "2012-07-20T09:25:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![7stud2](https://avatars.discourse-cdn.com/v4/letter/7/9de053/32.png) [@7stud2](https://rubytalk.org/u/7stud2)\
**Post date:** [20 July 2012 09:25 UTC](https://rubytalk.org/t/ruby-library-for-wget/65928/1 "2012-07-20T09:25:32Z")

</div>

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 \<link\>

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

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![Arun\_Tomar](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@Arun\_Tomar](https://rubytalk.org/u/Arun_Tomar)\
**Post date:** [20 July 2012 09:41 UTC](https://rubytalk.org/t/ruby-library-for-wget/65928/2 "2012-07-20T09:41:57Z")

</div>

checkout [rwget | RubyGems.org | your community gem host](https://rubygems.org/gems/rwget)  
I"ve not used it, but give it a shot.

> **···**
>
> 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 \<link\>
> > 
> > The -c switch is very important because my connection tends to get  
> > interrupted frequently.
> 
> --  
> Regards,  
> Arun Tomar  
> Founder  
> ISPunity \<[http://www.ispunity.com](http://www.ispunity.com)\> : Unite your internet connections.  
> Solution Enterprises \<[http://www.solutionenterprises.co.in](http://www.solutionenterprises.co.in)\> : We deliver custom IT solutions.

---

<div class="post-metadata">

**Author:** ![Richard\_Conroy1](https://avatars.discourse-cdn.com/v4/letter/r/57b2e6/32.png) [@Richard\_Conroy1](https://rubytalk.org/u/Richard_Conroy1)\
**Post date:** [20 July 2012 09:43 UTC](https://rubytalk.org/t/ruby-library-for-wget/65928/3 "2012-07-20T09:43:01Z")

</div>

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

> **···**
>
> On Fri, Jul 20, 2012 at 10:25 AM, Alan S. \<lists@ruby-forum.com\> 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 \<link\>
> > 
> > The -c switch is very important because my connection tends to get  
> > interrupted frequently.
> > 
> > --  
> > Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).
> 
> --  
> [http://richardconroy.blogspot.com](http://richardconroy.blogspot.com) | [http://twitter.com/RichardConroy](http://twitter.com/RichardConroy)

---

<div class="post-metadata">

**Author:** ![Thiago\_Massa](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/thiago_massa/32/2404_2.png) [@Thiago\_Massa](https://rubytalk.org/u/Thiago_Massa)\
**Post date:** [20 July 2012 12:20 UTC](https://rubytalk.org/t/ruby-library-for-wget/65928/4 "2012-07-20T12:20:57Z")

</div>

Why don't you run the command yourself inside ruby and save the response? 🙂

> **···**
>
> On Fri, Jul 20, 2012 at 6:43 AM, Richard Conroy \<richard.conroy@gmail.com\>wrote:
> 
> > There is a ruby library for curl (curb), does curl support an equivalent  
> > of the -c option?
> > 
> > On Fri, Jul 20, 2012 at 10:25 AM, Alan S. \<lists@ruby-forum.com\> 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 \<link\>
> > > 
> > > The -c switch is very important because my connection tends to get  
> > > interrupted frequently.
> > > 
> > > --  
> > > Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).
> > 
> > --  
> > [http://richardconroy.blogspot.com](http://richardconroy.blogspot.com) | [http://twitter.com/RichardConroy](http://twitter.com/RichardConroy)
