async def _process_2auth_form(self, html: str) -> (str, str):
        """
        Parsing two-factor authorization page and filling the code

        :param html: html page
        :return: url and  html from redirected page
        """
        # Parse page
        p = TwoFactorCodePageParser()
        p.feed(html)
        p.close()

        # Prepare request data
        form_url = p.url
        form_data = dict(p.inputs)
        form_data['remember'] = 0
        if p.message:
            raise VkAuthError('invalid_data', p.message, form_url, form_data)
        form_data['code'] = await self.enter_confirmation_code()

        # Send request
        url, html = await self.driver.post_text(form_url, form_data)
        return url, html
async def _process_2auth_form ( self , html : str ) -> ( str , str ) : p = TwoFactorCodePageParser ( ) p . feed ( html ) p . close ( ) form_url = p . url form_data = dict ( p . inputs ) form_data [ 'remember' ] = 0 if p . message : raise VkAuthError ( 'invalid_data' , p . message , form_url , form_data ) form_data [ 'code' ] = await self . enter_confirmation_code ( ) url , html = await self . driver . post_text ( form_url , form_data ) return url , html
Parsing two-factor authorization page and filling the code

        :param html: html page
        :return: url and  html from redirected page