in reply to how to import hotmail addressbook by WWW::Mechanize or something else
Try logging into hotmail using Mozilla or Firefox as your browser (I prefer Mozilla for this). Clear the cookies using the cookie manager. Choose the "save my credentials" option when you log in. This saves a number of cookies into the cookies.txt file. (location varies depending on OS but try under C:\Documents and Settings\<MyAccount>\Application Data\Mozilla\Profiles on Windows).
The cookies.txt file is in Netscape Format so you will need to load it up using HTTP::Cookies::Netscape. All your code needs to do now is to handle the redirection (which WWW::Mechanize should do OK).
This is all untested but I have used a similar script elsewhere. In general, Mozilla and LiveHTTPHeaders is a good debug combination.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: how to import hotmail addressbook by WWW::Mechanize or something else
by fayland (Acolyte) on Nov 22, 2006 at 01:49 UTC |