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?
Thanks