diff --git a/lib/v2/douyin/user.js b/lib/v2/douyin/user.js index 01fffe684..f234276b0 100644 --- a/lib/v2/douyin/user.js +++ b/lib/v2/douyin/user.js @@ -64,7 +64,9 @@ module.exports = async (ctx) => { async () => { const browser = await require('@/utils/puppeteer')(); const page = await browser.newPage(); - await page.goto(pageUrl); + await page.goto(pageUrl, { + waitUntil: 'domcontentloaded', + }); const html = await page.evaluate(() => document.documentElement.innerHTML); await browser.close();