Web::Scraper::LibXML(3pm) - phpMan

Command: man perldoc info search(apropos)  


Web::Scraper::LibXML(3pm)      User Contributed Perl Documentation      Web::Scraper::LibXML(3pm)

NAME
       Web::Scraper::LibXML - Drop-in replacement for Web::Scraper to use LibXML

SYNOPSIS
         use Web::Scraper::LibXML;

         # same as Web::Scraper
         my $scraper = scraper { ... };

DESCRIPTION
       Web::Scraper::LibXML is a drop-in replacement for Web::Scraper to use the fast libxml-
       based HTML tree builder, HTML::TreeBuilder::LibXML.

       This is almost identical to HTML::TreeBuilder::LibXML's replace_original installer, like:

         use HTML::TreeBuilder::LibXML;
         HTML::TreeBuilder::LibXML->replace_original();

         use Web::Scraper;
         my $scraper = scraper { ... };
         # this code uses LibXML parser

       which overrides HTML::TreeBuilder::XPath's new() constructor so that ALL of your code
       using HTML::TreeBuilder::XPath is switched to the libxml based parser.

       This module, instead, gives you more control over which TreeBuilder to use, depending on
       the site etc.

SEE ALSO
       Web::Scraper HTML::TreeBuilder::LibXML

perl v5.32.0                                2021-01-05                  Web::Scraper::LibXML(3pm)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-12-12 16:52 @3.147.28.218 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!