Main Page | Report this Page
 
Computers Forum Index  »  Computer Languages (Perl - Modules)  »  Better module for HTML scraping...
Page 1 of 1    

Better module for HTML scraping...

Author Message
Ignoramus13081...
Posted: Thu Jul 16, 2009 7:25 pm
Guest
I have a bunch of scraping scripts to do various things for me, and I
mostly use HTML::TreeBuilder and then HTML::Element features. ( use
WWW::Mechanize for retrieving pages)

While it works and I am grateful, I wonder if perhaps someone invented
a better way to look for things in HTML. Something a little easier to
use with better idioms.

Any suggestions for alternative HTML scraping modules?

i
 
mirod...
Posted: Tue Jul 21, 2009 1:37 pm
Guest
Ignoramus13081 wrote:
Quote:
I have a bunch of scraping scripts to do various things for me, and I
mostly use HTML::TreeBuilder and then HTML::Element features. ( use
WWW::Mechanize for retrieving pages)

While it works and I am grateful, I wonder if perhaps someone invented
a better way to look for things in HTML. Something a little easier to
use with better idioms.

Any suggestions for alternative HTML scraping modules?

Have you tried HTML::TreeBuilder::XPath? It adds an XPath engine to
HTML::TreeBuilder.

--
mirod
 
 
Page 1 of 1    
All times are GMT
The time now is Sun Nov 22, 2009 4:30 am