The only downloader you need. 下载器的集大成者。
TypeScript asyncasynciobittorentbtcross-platformdownload-managerdownloaderfluent-designftphttp3magnetpyqtpyside6pythonqtquicreactsoftwarestreaming
fix(bili): 修复手动导入 Cookie 后不拉取账号信息
XiaoYouChRe5e3d88363c5
diff --git a/features/bili_pack/account.py b/features/bili_pack/account.pyindex 67299c72..3ae096f2 100644--- a/features/bili_pack/account.py+++ b/features/bili_pack/account.py@@ -170,7 +170,6 @@ class BilibiliAccount(QObject):self._qrWorkId = ""if cookie:self.setCookie(cookie)- self.fetchAccountInfo()self.qrStateChanged.emit(QR_LOGIN_SUCCESS, "")def _onQrLoginFailed(self, error: str):@@ -189,10 +188,14 @@ class BilibiliAccount(QObject):def onDone(_):cfg.set(bilibiliConfig.userCookie, cookie)self.accountChanged.emit()+ if cookie:+ self.fetchAccountInfo()coroutineRunner.submit(self._logout(), done=onDone, failed=onDone)else:cfg.set(bilibiliConfig.userCookie, cookie)self.accountChanged.emit()+ if cookie:+ self.fetchAccountInfo()def logout(self):from app.services.coroutine_runner import coroutineRunner