Perl Monk, Perl Meditation | |
PerlMonks |
Extracting stylesheet links or url from HTML Pageby mr_p (Scribe) |
on Jun 23, 2010 at 21:18 UTC ( [id://846178]=perlquestion: print w/replies, xml ) | Need Help?? |
mr_p has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I have been trying to extract only 'stylesheet' links from html page and have not been able to do so. Example:
I would like to only extract the href from rel=stylesheet. It is case insensetive. I can have Rel=StyleSheet too. I have tried SimpleLinkExtor, TreeBuilder, Text::Balanced and LinkExtor. I do not wish to use TreeBuilder because it is too expensive. Please help. I have spent 2 days on this.
Back to
Seekers of Perl Wisdom
|
|