♻️ 将 refresh_anonymous_cookie 改为内部方法, 同时外部使用 refresh_client 方法进行刷新匿名 cookie

This commit is contained in:
2024-10-29 09:38:08 +08:00
parent b130627d7e
commit 81e53419a3
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ async def init_scheduler():
for site, target_list in _schedule_class_dict.items():
if is_cookie_client_manager(site.client_mgr):
client_mgr = cast(CookieClientManager, site.client_mgr)
await client_mgr.refresh_anonymous_cookie()
await client_mgr.refresh_client()
if not plugin_config.bison_use_browser and site.require_browser:
logger.warning(f"{site.name} requires browser, it will not schedule.")
continue