Stefan Trcek > webrobot-0.81 > WWW::Webrobot::HtmlAnalyzer

Download:
webrobot-0.81.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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
syntax highlighting: