feat(bilibili): add cookie debug

This commit is contained in:
DIYgod 2024-04-02 01:05:40 +08:00
parent b01a7c7619
commit 1c455caec6
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ const getCookie = () => {
});
await page.goto('https://space.bilibili.com/1/dynamic');
const cookieString = await waitForRequest;
logger.debug(`Got bilibili cookie: ${cookieString}`);
return cookieString;
});