修改登入密碼

def update_password(self, password: str) -> bool:
        """
        修改登入密碼
        """
        try:
            # 操作所需資訊
            payload = {
                'pass': password,
                'submit': 'sumit'
            }
            # 修改密碼
            response = self.__session.post(
                self.__url + '/changePasswd', data=payload, timeout=0.5, verify=False)
            soup = BeautifulSoup(response.text, 'html.parser')
            # 回傳結果
            return str(soup.find('body')).split()[-2].strip() == 'Success'

        except requests.exceptions.Timeout:
            return None