code: def _get_csrf_token(self):
          
          from bs4 import BeautifulSoup
          home_response = self.session.get(self.URLS['login'])
          self._log('Home', home_response)
          assert home_response.status_code == 200, \
              'Could not load Easyname login page.'
  
          html = BeautifulSoup(home_response.content, 'html.parser')
          self._log('Home', html)
          csrf_token_field = html.find('input', {'id': 'loginxtoken'})
          assert csrf_token_field is not None, 'Could not find login token.'
          return csrf_token_field['value']
docs: Return the CSRF Token of easyname login form.