diff --git a/campux/social/qzone/api.py b/campux/social/qzone/api.py index c64b91e..ed68067 100644 --- a/campux/social/qzone/api.py +++ b/campux/social/qzone/api.py @@ -101,6 +101,10 @@ async def token_valid(self, retry=3) -> bool: for i in range(retry): try: + # 尝试从缓存加载cookies + self.ap.cache.load() + self.cookies = self.ap.cache.data['qzone_cookies'] + today, total = await self.get_visitor_amount() return True except Exception as e: