Somewhere there is some code that is causing the script to follow the redirect. Turn it off.
(Its rather hard to be more specific then that without knowing what code you are using.)
If, for instance, you were using [module://LWP::UserAgent], then we might suggest you:
$ua->requests_redirectable ([]);As the manual suggests.
$ua->requests_redirectable ([]);was EXACTLY what I needed.
Please read: 172086
We can't provide much help at all unless you give us more information. How is your script grabbing the page? What does your existing code look like?
perlmonks.org content © perlmonks.org and cowboy, dorward, subdian
prlmnks.org © 2006 edmund von der burg (eccles & toad)
v 0.03