in reply to Who wants to help me adjust LinkExtor::Simple?
The tag is <SCRIPT> and the attribute is SRC and I swear, I've tried, I just can't figure out where to start...You start by reading the source, and showing us what you tried :)
I would just use HTML::LinkExtractor. The interface is a tad different, but it has a better support for "links."
On the other hand, looking at the HTML::SimpleLinkExtor source I can see that it's using HTML::LinkExtor which decides what constitutes a link via %HTML::Tagset::linkElements.
update: Hmm, it looks like %HTML::Tagset::linkElements already has script/src in there, so I'd suggest you show the html and the perl that's not working out for you.
|
|---|