in reply to Grabbing data from webpages

WebFetch is one of those modules listed on CPAN that has an extensive module set for grabbing some well known sites.

Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.

Replies are listed 'Best First'.
Re: Re: Grabbing data from webpages
by damian1301 (Curate) on Jan 28, 2001 at 23:53 UTC
    Well modules are a great thing in many cases but I don't think a module knows what I want to grab off weatherchannel.com. I would rather some more hardcoding than module use because I don't want to save anything to my system as it says in that documentation. Instead I would rather have it like statswhore.pl. It grabs the information and tells a couple stats in a nicely printed fashion. Thanx for your help but it was a little off what I was looking for :-)

    Wanna be perl hacker.
    Dave AKA damian

    I encourage you to email me

      I can't speak for Beatnick, but my impression is that the suggestion is to use WebFetch as a basis to fill your own needs. Download it, play with it, see what comes close to doing what you want, copy it and modify. It's a great way to learn and it gives you the opportunity to give back to the project (chances are if you find a certain application useful (e.g. Weather Channel, TV listings, whatever), someone will too.)

      To answer your original question, some combination of LWP and HTML::Parser (or one of its subclasses) will do what you want.