匿名cookie和用户cookie一起调度

This commit is contained in:
2024-09-06 00:25:33 +08:00
parent cf3966e69b
commit 0ce2893911
5 changed files with 63 additions and 17 deletions
+2
View File
@@ -30,6 +30,8 @@ async def init_scheduler():
else:
_schedule_class_platform_dict[site].append(platform_name)
for site, target_list in _schedule_class_dict.items():
if hasattr(site.client_mgr, "_cookie_client_manger_"):
await site.client_mgr.init_universal_cookie()
if not plugin_config.bison_use_browser and site.require_browser:
logger.warning(f"{site.name} requires browser, it will not schedule.")
continue