def max_page(self):
html = self.request(self.dismiss_url).text<EOL>soup = BeautifulSoup(html)<EOL>try:<EOL><INDENT>pagination = soup.find_all(class_='<STR_LIT>')[<NUM_LIT:0>]<EOL><DEDENT>except IndexError as e:<EOL><INDENT>logger.exception(e)<EOL>return <NUM_LIT:1><EOL><DEDENT>pages = pagination.find_all('<STR_LIT>')<EOL>return int(pages[-<NUM_LIT:2>].text) if pages else <NUM_LIT:1><EOL>
获取小组成员管理页面的最大页数