Retrieving a web resource (GET) for parsing

2007-04-06 Thread yitzle

If I want to parse a few web pages, what's the best way to retrieve them?
Should I just run `wget $url`?


Re: Retrieving a web resource (GET) for parsing

2007-04-06 Thread Dave Gray

On 4/6/07, yitzle [EMAIL PROTECTED] wrote:

If I want to parse a few web pages, what's the best way to retrieve them?
Should I just run `wget $url`?


LWP can do this for you.
http://search.cpan.org/~gaas/libwww-perl-5.805/lib/LWP.pm
If you want more complicated interactions, WWW::Mechanize is good also.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/