GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  WEB::SCRAPER::LIBXML (3)

.ds Aq ’

NAME

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

CONTENTS

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
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 WEB::SCRAPER::LIBXML (3) 2014-10-20

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.