Re: UserAgent->get problem

Keary Suska <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
On Nov 15, 2009, at 1:29 AM, SHANG Yuan wrote:

> get the window.open "url" from the second webpage(mentioned above),paste
> it to the web-browser, and get the same failure result as I get by perl
> script. But after I have clicked the "pic.gif" in the second webpage from
> the web-browser, I re-enter the "url" of the third webpage and this time
> the browser returned just what I wanted.
> It seems that the "click" action have activated something I haven't noticed.
> 
> Have anyone here come with the similar problems before?
> Any advice will be appreciated.

Have you tried setting the "Referer" header?

HTH,

Keary Suska
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.