Install libhtml-treebuilder-xpath-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libhtml-treebuilder-xpath-perl
Description:
Perl module to add XPath support to HTML::TreeBuilder
HTML::TreeBuilder::XPath is a drop-in replacement for HTML::TreeBuilder (see libhtml-treebuilder-perl) that adds typical XPath methods, making it easy to query a document and extract information about nodes and values. . It is also capable of generating two representations of the XML output: a compact version, intended for machine readable output and minimal space requirements (in terms of disk space and network bandwidth); and a human readable, indented version.
Homepage: http://search.cpan.org/dist/HTML-TreeBuilder-XPath/
Version: 0.14-1
Section: universe/perl