[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LWP gives garbage characters



maybe the page is gzippd, u need to unzip it to get plain text.

On 20/04/06, tom arnall <kloro@cox.net> wrote:
i am trying to spider a site with LWP but get garbage characters when i do:

       $result = $ua->get($url,%header);
       my $page = $res1->content;

'lynx' however gives a clean result.

thanks,

tom arnall
north spit, ca





--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
<http://learn.perl.org/> < http://learn.perl.org/first-response>




Reply to: