in reply to Re: Html to text
in thread Html to text

use strict; use warnings; use HTML::Parse; use HTML::FormatText; use LWP::Simple; my $url = "http://www.perlmonks.org"; my $html = get($url); defined $html or die "Can't fetch HTML from: ",$url; my $ascii = HTML::FormatText->new->format(parse_html($html)); print $ascii;
This isn't giving me much :( Do I need to pretend that I'm a browser and not a bot. How do I do that? Thank you!