摘要:
1 import urllib2, cookielib,urllib 2 3 class LoginRenren(): 4 def __init__(self): 5 self.log_url = "http://www.renren.com/PLogin.do" 6 self.cj = cookielib.CookieJar() 7 self.opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(self.cj)) 8 urllib2.in... 阅读全文