def get_UBI(cookie, tokens):
url = '<STR_LIT>'.join([<EOL>const.PASSPORT_URL,<EOL>'<STR_LIT>',<EOL>'<STR_LIT>', tokens['<STR_LIT>'],<EOL>'<STR_LIT>',<EOL>'<STR_LIT>', util.timestamp(),<EOL>])<EOL>headers={<EOL>'<STR_LIT>': cookie.header_output(),<EOL>'<STR_LIT>': const.REFERER,<EOL>}<EOL>req = net.urlopen(url, headers=headers)<EOL>if req:<EOL><INDENT>return req.headers.get_all('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
检查登录历史, 可以获得一个Cookie - UBI.
    返回的信息类似于: 
    {"errInfo":{ "no": "0" }, "data": {'displayname':['xxx@163.com']}}