Re: A couple of vague LWP questions
- From: "Franklin H." <franklin28@xxxxxxxxxxxx>
- Date: 25 Apr 2005 01:32:23 -0700
> 2) When using LWP::UserAgent to grab the same webpage as above the
> webserver somehow seems able to recognizes the request as coming from
> an "automated tool". Any idea why this might possibly occure with
> LWP::UserAgent but not with LWP::Simple?
It would appear that the trick here is to set USERAGENt to something
other than the default "libwww-perl/#.##". Arbitrarily I chise:
$ua->agent('Mozilla/5.001');
.
- Follow-Ups:
- Re: A couple of vague LWP questions
- From: Brian Wakem
- Re: A couple of vague LWP questions
- References:
- A couple of vague LWP questions
- From: Franklin H.
- A couple of vague LWP questions
- Prev by Date: A couple of vague LWP questions
- Next by Date: Re: A couple of vague LWP questions
- Previous by thread: A couple of vague LWP questions
- Next by thread: Re: A couple of vague LWP questions
- Index(es):
Relevant Pages
|