def _init_self_information(self):
url = '<STR_LIT>'.format(token=self.__token)<EOL>headers = {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': self.__cookies,<EOL>}<EOL>r = requests.get(url, headers=headers)<EOL>ticket_id = re.search(r'<STR_LIT>', r.text)<EOL>if not ticket_id:<EOL><INDENT>raise NeedLoginError(r.text)<EOL><DEDENT>self.__ticket_id = ticket_id.group(<NUM_LIT:1>)<EOL>ticket = re.search(r'<STR_LIT>', r.text)<EOL>if not ticket:<EOL><INDENT>raise NeedLoginError(r.text)<EOL><DEDENT>self.__ticket = ticket.group(<NUM_LIT:1>)<EOL>fakeid = re.search(r'<STR_LIT>', r.text)<EOL>if not fakeid:<EOL><INDENT>raise NeedLoginError(r.text)<EOL><DEDENT>self.__fakeid = fakeid.group(<NUM_LIT:1>)<EOL>
初始化公众号自身的属性值 (目前包括 ``Ticket`` 值 及 公众号自身的 ``fakeid`` 值)
:raises NeedLoginError: 操作未执行成功, 需要再次尝试登录, 异常内容为服务器返回的错误数据