note
Anonymous Monk
<P> **thread bump**
<p> <i> App::scrape is more limited - it just uses CSS selectors to build up a Perl data structure from an HTML page. </i>
<p> It uses css and xpath, but yes, it is slightly simpler
<p> <i> Can App::scrape handle YAML seamlessly? </i>
<p> No, but I'm sure it could , in about five lines :) [mod://Tree::XPathEngine], its on CPAN :)
<p> <i> Or for that matter JSON, RDF, arbitrary XML, etc? </i>
<p> It does support RDF.
<p> <i> And how about POST requests? </i>
<P> Sure, its right there in the SYNOPSIS <C> use LWP::Simple qw(get); </C>, you an just as easily write <c> use LWP::Simple qw( $ua ); </c> and use <c> $ua->POST(...) </c>
<p> I recognize that it does a lot more, and a large number of the prereqs are your modules -- that is a lot of work -- but why?
<p> Web::Magic won't help me "fake" a proper ua_string like [mod://WWW::Mechanize] , and it has all those exceptions, but no cookie jar?
<p> Magic? Dwimmery? Awesomness? -- yes, I like kung-fu panda too :)
<p> [mod://HTML::Query], [mod://Web::Query], [mod://Web::Scraper], [mod://Web::Magic] ... a lot of the same kind of work, which horse to choose?
<p> Sell me a horse?
<p> I'm sure you have philosophy, reasons for doing things your way, a big and little picture.... I'd love to know what it is :) I just don't have a grasp of the thing.
<P> Maybe its because i'm not a "24" fan ? What can I say, Kiefer Sutherland grates me worse than David Caruso :)
<p> Can you enlighten me?
947540
947590
10