def __init__(self):
HTMLParser.__init__(self)
self.entity = None
self.state = 'IDLE'
self.data = {
'rwattrs': [],
'roattrs': [],
'addattrs': [],
'updateattrs': [],
}
self.new_current_attr()
self.re_json_arg = re.compile(r'"([^"]+)": *<[^>]+>')
评论列表
文章目录