develooper Front page | perl.libwww | Postings from June 2003

Re: RobotUA and useragent

Thread Previous
From:
Andy Lester
Date:
June 20, 2003 07:21
Subject:
Re: RobotUA and useragent
Message ID:
p06001206bb18c8b41ea2@[192.217.227.234]
>How can I assign a useragent if I am using RobotUA. It appears that some
>sites cannot be crawled unless a valid useragent is assigned.


Read the docs on LWP::UserAgent for "useragent".  RobotUA is a 
subclass of UserAgent, so anything you can do to UserAgent, you can 
do to RobotUA.
-- 
Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About