Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Mechanize to TreeBuilder-XPath

by Anonymous Monk
on Jan 28, 2012 at 00:39 UTC ( #950473=note: print w/ replies, xml ) Need Help??


in reply to Mechanize to TreeBuilder-XPath

My Question: Is using Firebug an effective approach?

Absolutely, provided you disable any plugins that mangle the tree (noscript); not important if you're using the same firefox with WWW::Mechanize::Firefox

You can use htmltreexpather.pl to generate some xpaths for you

extracting data from html using xpath

extract data from html with xpath

extract a substring between two emements, its css/xpath time again

WWW::Mechanize, WWW::Mechanize::Firefox, WWW::Scripter, HTTP::Recorder, Web::Magic, htmltreexpather.pl, getting data out of html with xpath, Re: Formating a HTML document to show certain text., Re^2: HTML::TreeBuilder:: identifing xpath-expression - first attempt, Re: Help With Online Table Scraper, Re: Formating a HTML document to show certain text.

Comment on Re: Mechanize to TreeBuilder-XPath

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2016-05-26 02:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?