mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: add 'networkidle2' option to waitUntil in getPuppeteerPage
This commit is contained in:
@@ -72,7 +72,7 @@ export const getPuppeteerPage = async (
|
||||
instanceOptions: {
|
||||
onBeforeLoad?: (page: Page, browser?: Browser) => Promise<void> | void;
|
||||
gotoConfig?: {
|
||||
waitUntil?: 'load' | 'domcontentloaded' | 'networkidle0';
|
||||
waitUntil?: 'load' | 'domcontentloaded' | 'networkidle0' | 'networkidle2';
|
||||
};
|
||||
noGoto?: boolean;
|
||||
} = {}
|
||||
|
||||
Reference in New Issue
Block a user