Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Scrappy Comments: Looks interesting, but the docs are a bit scattered and felt confusing, and the development seems to have stagnated.

scrappy is too much pee as I say in Re: Scrappy user_agent error

... spidering ... scraping ...

You're confusing yourself there a little, spidering (anything goes) is a completely different ballgame than scraping (this one particular site)

WWW::Mechanize makes LWP bearable for scraping

WWW::Mechanize::Firefox adds JS support

that's it for scraping, the bare essentials and the state of the art, all the others add a little sugar and some baggage

WWW::Scripter adds "JS support" WWW::Scripter::Plugin::JavaScript/WWW::Scripter::Plugin::Ajax... very impressive/neat, but it ain't no WWW::Mechanize::Firefox

Web::Scraper adds a little sugar, like

Web::Magic adds maximum magic with maximum dependencies

Web::Query adds maximum sugar with minimal dependencies, like jQuery, but has odd bits

-Mojo is slick but Mojo::DOM is still barren (pita)

XML::LibXML -- has work to do, it can load html/xml documents from urls but the headers/post/... HTTP stuff isn't there yet


Mozilla::Mechanize -- good luck building that :) it ain't easy, no it aint easy

Gtk3::WebKit -- its a browser , you might scrape with it somehow (probably not)

Gtk2::WebKit -- its a browser , you might scrape with it somehow (probably not)

Wx::Htmlwindow -- its a (old/weak/limited) browser , you can scrape with it somehow , its clumsy and limited, not good for scraping

Wx::WebView-- its a (new/moderner/css+js) browser , even more useless for scraping than wx::htmlwindow ... looks nice but like all these browsers, not designed for scraping, although it could be

In reply to Re: The State of Web spidering in Perl by Anonymous Monk
in thread The State of Web spidering in Perl by digital_carver

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others examining the Monastery: (4)
    As of 2018-05-27 22:15 GMT
    Find Nodes?
      Voting Booth?