Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Log In To guardian.co.uk with WWW::Mechanize

by DaWolf (Curate)
on May 28, 2005 at 14:57 UTC ( [id://461353]=note: print w/replies, xml ) Need Help??


in reply to Log In To guardian.co.uk with WWW::Mechanize

Notice that your script is somehow sending you to a page in "mydetails", wich doesn't happen with the normal login process (take a look at the LiveHTTP log, you are not at any point being redirected to any page on mydetails directory).

So, for some reason, you are trying to post your data to a page that doesn't support the POST method, wich I think is done by some kind of "protection" against this kind of method.

I've tried playing with WWW::Mechanize once and I've found out that while I could easily use it to send an email on my site contact page, I couldn't use it to to manipulate other sites.
  • Comment on Re: Log In To guardian.co.uk with WWW::Mechanize

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://461353]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-06-24 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.