async def _get_login_page(self):
try:<EOL><INDENT>async with async_timeout.timeout(<NUM_LIT:10>):<EOL><INDENT>raw_res = await self._session.get(HOME_URL,<EOL>allow_redirects=False,<EOL>timeout=self._timeout)<EOL><DEDENT><DEDENT>except OSError:<EOL><INDENT>raise PyEboxError("<STR_LIT>")<EOL><DEDENT>content = await raw_res.text()<EOL>soup = BeautifulSoup(content, '<STR_LIT>')<EOL>token_node = soup.find('<STR_LIT:input>', {'<STR_LIT:name>': '<STR_LIT>'})<EOL>if token_node is None:<EOL><INDENT>raise PyEboxError("<STR_LIT>")<EOL><DEDENT>token = token_node.attrs.get('<STR_LIT:value>')<EOL>if token is None:<EOL><INDENT>raise PyEboxError("<STR_LIT>")<EOL><DEDENT>return token<EOL>
Go to the login page.