fix(route): tiktok wait longer (#10736)

This commit is contained in:
Tony 2022-09-07 06:49:42 -08:00 committed by GitHub
parent 41e4d7cf84
commit 3531bf54c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();