By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,848 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,848 IT Pros & Developers. It's quick & easy.

download website pages using perl

P: 23
Is there any way that i could download all the webpages in a website using perl ?
Jan 26 '08 #1
Share this Question
Share on Google+
3 Replies


KevinADC
Expert 2.5K+
P: 4,059
Yes, at least pages that are web accessible. What have you tried so far and why do you want to download entire websites?
Jan 26 '08 #2

numberwhun
Expert Mod 2.5K+
P: 3,503
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
Jan 26 '08 #3

P: 23
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
Jan 28 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.