Get once which will be used when you login.

def _get_once(self, page_text):
        """Get once which will be used when you login."""
        soup = BeautifulSoup(page_text, 'html.parser')
        once = soup.find('input', attrs={'name': 'once'})['value']
        return once