diff --git a/lib/routes/bilibili/cache.ts b/lib/routes/bilibili/cache.ts index 86699ef7e..01f58714b 100644 --- a/lib/routes/bilibili/cache.ts +++ b/lib/routes/bilibili/cache.ts @@ -27,7 +27,7 @@ const getCookie = () => { await page.goto('https://space.bilibili.com/1/dynamic'); const cookieString = await waitForRequest; logger.debug(`Got bilibili cookie: ${cookieString}`); - + await browser.close(); return cookieString; }); };