download website pages using perl

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karthikeyanck
    New Member
    • Oct 2007
    • 23

    download website pages using perl

    Is there any way that i could download all the webpages in a website using perl ?
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    Yes, at least pages that are web accessible. What have you tried so far and why do you want to download entire websites?

    Comment

    • numberwhun
      Recognized Expert Moderator Specialist
      • May 2007
      • 3467

      #3
      Originally posted by karthikeyanck
      Is there any way that i could download all the webpages in a website using perl ?
      If you are just wanting to download a specific web page (that is accessible as Kevin mentioned), then use LWP::Simple module. It has a get() function that will do that. If you are wanting to do something a little more complex, then check out the WWW::Mechanize module then.

      Regards,

      Jeff

      Comment

      • karthikeyanck
        New Member
        • Oct 2007
        • 23

        #4
        Originally posted by numberwhun
        If you are just wanting to download a specific web page (that is accessible as Kevin mentioned), then use LWP::Simple module. It has a get() function that will do that. If you are wanting to do something a little more complex, then check out the WWW::Mechanize module then.

        Regards,

        Jeff
        Thanks a ton for the inputs, i need to download the whole website coz i've a project on it

        Comment

        Working...