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

Getting webpage contents using a script

P: 1
I wanna write a script to get the contents of a simple webpage like
http://www.craigslist.org/msg
i need just text output not html.
I search this on google. There are suggestions about using perl LWP::Simple
and using lynx. Both these options are not workable for me because
lynx config files are missing on my system and perl package is not
found on my system or cpan.org

Pls let me know if you know of any other simple method to do this
using perl/python or whatever else.

Thanks
Jul 12 '08 #1
Share this Question
Share on Google+
1 Reply

micmast
100+
P: 144
take a look at wget. I don't know if the program can fetch only text, but you might be able to write a small html filter for that.
Jul 12 '08 #2

Post your reply

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