Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Obtaining Text from a website

by whakka (Hermit)
on Jan 28, 2009 at 15:14 UTC ( #739600=note: print w/ replies, xml ) Need Help??


in reply to Obtaining Text from a website

Yep. Look through WWW::Mechanize's documentation as it's a high-level module that automates web scripting. Also look at learning an HTML parser (like HTML::TreeBuilder, which uses HTML::Parser to build a tree structure out of the HTML from which you can traverse) if you need something more than a simple snippet you can get with regular expressions.

Finally, if you need more assistance ask a specific question here (although make sure you try whatever you're asking for help on doing first!) and pick up a book - Perl Cookbook is pretty popular and has an entire chapter on web automation.


Comment on Re: Obtaining Text from a website

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://739600]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2014-04-18 19:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls