Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > best way to download an antire site with ruby

Reply
Thread Tools

best way to download an antire site with ruby

 
 
med addame
Guest
Posts: n/a
 
      11-03-2009
What is the best way to download all Web Site resources (html, images,
...) to a local directory using Ruby?
Thanks,
A.
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Brian Candler
Guest
Posts: n/a
 
      11-03-2009
med addame wrote:
> What is the best way to download all Web Site resources (html, images,
> ...) to a local directory using Ruby?


Quickest and easiest:

system("wget -p -np -r http://www.lua.org/manual/5.1/")

Also useful are the -I, -P, -nH options.
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
!!!The best Info and Download Site!!! : ComFreak, FotoFreak ,................ InfoMaster: YJ Computer Support 0 12-06-2007 05:26 PM
Best way to download and parse HTML files Ramza Brown Ruby 0 01-19-2006 11:26 PM
Best OS for Ruby Dev/Best OS for Ruby Hosting Rawn027 Ruby 16 11-21-2005 07:15 AM
Best DVD download site SJ DVD Video 16 05-27-2004 12:49 PM



Advertisments