ldln has asked for the wisdom of the Perl Monks concerning the following question:
For example we might want to have start trigger of tag <x> with attribute named <y> with value /<z>/ (regexp) to indicate where we want to start looking for data in html-file.
We may then possibly specify in some simple way what data to extract, for example:a,href,src;t;100
to get the next 100 urls and URL-linktext in document. And possibly have an end trigger, like if we see text <t> then end parsing.
Does anything like this exist?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTML::Parser API script or module
by wfsp (Abbot) on Jun 04, 2005 at 18:16 UTC | |
by Ovid (Cardinal) on Jun 04, 2005 at 20:49 UTC | |
|
Re: HTML::Parser API script or module
by skillet-thief (Friar) on Jun 04, 2005 at 20:07 UTC | |
|
Re: HTML::Parser API script or module
by Corion (Patriarch) on Jun 04, 2005 at 18:15 UTC |