Open mikavilpas opened 14 years ago
HTML::Parser is already loaded (as HTML::Entities), so it would be better to use that module instead of loading a completely new one.
This one looks even better, and it's included in the parser module as well:
http://search.cpan.org/~gaas/HTML-Parser-3.65/lib/HTML/HeadParser.pm
Opened new branch titleParser to implement HTML::HeadParser in getting page title.
Idea from here, seems good:
http://stackoverflow.com/questions/29869/regex-to-match-all-html-tags-except-p-and-p/29985#29985