Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: getting text from HTMLby perlfan (Vicar) |
on May 12, 2020 at 03:26 UTC ( [id://11116693]=note: print w/replies, xml ) | Need Help?? |
Shout out to Web::Scraper. It takes some time to wrap your head around it, but it's pretty good for writing robust scrapers. Relying on the DOM itself makes your scraper very brittle, especially if this is an HTML source that you do not control.
In Section
Seekers of Perl Wisdom
|
|