code: def _login(self):
          
          login_url = "https://www.duolingo.com/login"
          data = {"login": self.username, "password": self.password}
          request = self._make_req(login_url, data)
          attempt = request.json()
  
          if attempt.get('response') == 'OK':
              self.jwt = request.headers['jwt']
              return True
  
          raise Exception("Login failed")
docs: Authenticate through ``https://www.duolingo.com/login``.