mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-06-23 22:16:53 +08:00
✨ 匿名cookie和用户cookie一起调度
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user