WWW::Webrobot::HtmlAnalyzer - analyze HTML files for links/images/frames
WWW::Webrobot::HtmlAnalyzer -> get_links($scheme, $input)
Analyze an HTML file. Returns a list of images, a list of frames and a list of links.
Extract all links found in an HTML page
Parameters:
$scheme uri of the content $in content, same form as in HTML::TokeParser->new($in) return (\@img, \@frame, \@a); \@img list of images \@frame list of frames \@a list of plain links
To install WWW::Webrobot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Webrobot
CPAN shell
perl -MCPAN -e shell install WWW::Webrobot
For more information on module installation, please visit the detailed CPAN module installation guide.