From 3531bf54c38f0082a13635a40aa72680fd74c4fb Mon Sep 17 00:00:00 2001 From: Tony Date: Wed, 7 Sep 2022 06:49:42 -0800 Subject: [PATCH] fix(route): tiktok wait longer (#10736) --- lib/v2/tiktok/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/v2/tiktok/user.js b/lib/v2/tiktok/user.js index ccf5f5ba6..075765c6f 100644 --- a/lib/v2/tiktok/user.js +++ b/lib/v2/tiktok/user.js @@ -18,7 +18,7 @@ module.exports = async (ctx) => { request.resourceType() === 'document' || request.resourceType() === 'script' ? request.continue() : request.abort(); }); await page.goto(`${baseUrl}/${user}`, { - waitUntil: 'networkidle2', + waitUntil: 'networkidle0', }); const SIGI_STATE = await page.evaluate(() => window.SIGI_STATE); browser.close();