best way to download an antire site with ruby

Discussion in 'Ruby' started by med addame, Nov 3, 2009.

  1. med addame

    med addame Guest

    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/.
    med addame, Nov 3, 2009
    #1
    1. Advertising

  2. 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/.
    Brian Candler, Nov 3, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. raviraj joshi
    Replies:
    0
    Views:
    299
    raviraj joshi
    Jul 4, 2009
  2. reshma shinde
    Replies:
    0
    Views:
    385
    reshma shinde
    Jul 4, 2009
  3. Rawn027
    Replies:
    16
    Views:
    200
    Jeff Wood
    Nov 21, 2005
  4. thefed
    Replies:
    23
    Views:
    250
    Tim Hunter
    Jan 4, 2008
  5. raviraj joshi
    Replies:
    0
    Views:
    156
    raviraj joshi
    Jul 4, 2009
Loading...

Share This Page