Have seen this issue addressed on this board in the past, but can't
figure out exactly what I need to do.
I'm using WWW::Mechanize and a webpage seems to be redirecting me but
Mechanize doesn't seem to follow it. I've heard to Add the header
'Accept: text/html' but alas I don't know how to add
Hi Andy,
Oops, sorry, I misquoted you. Whether FAQ, Cookbook or something new, I
think this kind of practical hints on how to use mech would be
tremendously valuable (also the reason I sent you some extra questions
and their answers in response to your request).
BTW - I don't think that
On Fri, Feb 25, 2005 at 05:46:44PM +0100, Peter Stevens ([EMAIL PROTECTED])
wrote:
Oops, sorry, I misquoted you. Whether FAQ, Cookbook or something new, I
think this kind of practical hints on how to use mech would be
tremendously valuable (also the reason I sent you some extra questions
hi john
It wants this header (or similar, but this is a minimal one):
Accept: text/html
i have added this header and it just works!!! thanks a LOT!
Maybe mechanize should sent an Accept header by default?
i think that would be a good idea for the text/html type.
BTW, Martin: I debugged this by
Hi Martin,
I have written scrapers for a number of different sites, all of which
require sign on, and have not had any problems with redirection not
being performed. Hmm. Haven't done anything with sunrise yet (although I
would like to automatically download my faxes from my sunrise onebox).
hi peter
I have written scrapers for a number of different sites, all of which
require sign on, and have not had any problems with redirection not
being performed. Hmm. Haven't done anything with sunrise yet (although I
would like to automatically download my faxes from my sunrise onebox).
i
On Wed, Feb 23, 2005 at 06:51:09PM +0100, Martin Kos ([EMAIL PROTECTED]) wrote:
One of the best tips I've gotten from this list is to put use
LWP::Debug qw(+); in to your code. This turns on a trace so you can
Can one of you guys please write up a paragraph on that LWP::Debug trick
so that I
hi
as i've seen that this list is used for mechanize questions too i'll try
my question...
i try to login to the page http://mymobile.sunrise.ch/ but it seems like
mechanize is not doing the redirect that is on the start site... if i
try with my browser or wget i get redirect to a page like