Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Out of milk website via WWW::Mechanize

by thomas895 (Deacon)
on Dec 30, 2016 at 20:47 UTC ( [id://1178683]=note: print w/replies, xml ) Need Help??


in reply to Out of milk website via WWW::Mechanize

You're trying to send your credentials as HTTP authentication, which the website probably doesn't support. I haven't looked, but it probably uses aweb form to log in. Use your browser's inspector to observe what happens when you log in, and then automate that.

-Thomas
"Excuse me for butting in, but I'm interrupt-driven..."
  • Comment on Re: Out of milk website via WWW::Mechanize

Replies are listed 'Best First'.
Re^2: Out of milk website via WWW::Mechanize
by bigswifty00000 (Beadle) on Dec 30, 2016 at 22:00 UTC

    Thanks for the reply.

    Yea, that was just one of the things I attempted. It is a web form, and I used a post, but get a 404 error when it posts to a url https://outofmilk.com/action which doesn't exist, and doesnt make it to 'http://outofmilk.com/ShoppingList.aspx?signin=1' which is where I'm trying to get to.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1178683]
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: (6)
As of 2024-04-25 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found