Oct 2, 2010, 12:51 PM
Post #1 of 3
Converting LWP's get $url results to text.
I was able to do something like:
$content = parse_html( get $url)->format;
which converts the HTML to text. This works great, but when running in a loop, parse_html crashes my machine because it runs out of memory!
Anybody know how I can fix this, or is there a better way to convert HTML to text without using parse_html?