The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::Webrobot::HtmlAnalyzer - analyze HTML files for links/images/frames

SYNOPSIS

 WWW::Webrobot::HtmlAnalyzer -> get_links($scheme, $input)

DESCRIPTION

Analyze an HTML file. Returns a list of images, a list of frames and a list of links.

METHODS

WWW::Webrobot::HtmlAnalyzer -> get_links($scheme, $input)

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