HI, I'm a little new when it comes to HTTP CLients. I need to get my addressbook in Yahoo but i can't figure it out how to get through Yahoo's security and log-in.. Do you have any idea or suggestions?
Manuel Lemos - 2005-10-12 04:37:40 - In reply to message 1 from Erick Bajao
It seems that Yahoo encodes the passwords with MD5 before submitting to the server. I think you need to analyze exactly what its Javascript does to figure what to submit to Yahoo login form.
Manuel Lemos - 2005-10-18 23:10:50 - In reply to message 7 from Erick Bajao
I tried disabling Javascript in my browser and I could login. Therefore Javascript is not needed.
The way I see it, you need to open a page with a login form, parse the page to extract the fields and values of the login form, and emulate a login request with those values.
This class will keep any cookies that Yahoo sends in response to all requests. That should be all you need.
Erick Bajao - 2005-10-19 01:53:25 - In reply to message 8 from Manuel Lemos
ok thank you very much! I already extracted the values from the fields. My username and password was authenticated but then after that it redirects me back to the login page. I used curl at first, maybe I'm still missing some cookies or values, I'll try it this time with the HTTP protocol client class.. =)
Manuel Lemos - 2005-10-19 02:13:41 - In reply to message 9 from Erick Bajao
I think you need to extract the values of the fields again every time you try to login and use the collected cookies because it is probably a new session and you may not be able to use the same values used to login and start a new session.