First one is using http and second one https, did you try an https handler?
as I already pointed out to you in other thread with the same topic...
Please don't spam the list, if you aren 't getting the answers you was
looking for, wait for a while and then repost not just open threads until
get
1.http://www.renren.com/Login.do
it is ok,my code:
import cookielib, urllib2, urllib
cj = cookielib.CookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
exheaders = [(User-Agent,Mozilla/4.0 (compatible; MSIE 7.1; Windows NT 5.1;
SV1)),]
opener.addheaders=exheaders
守株待兔 wrote:
1.http://www.renren.com/Login.do
it is ok,my code:
[...]
2.https://passport.baidu.com/?login
can't login,my code:
[...]
Do you have a question, or are you just sharing the bad news?
Websites may choose to respond to login attempts differently. Some may
require cookies, some may