mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-16 14:55:59 +08:00
wip
This commit is contained in:
parent
b46e859a30
commit
b2f8b11cdc
@ -118,7 +118,7 @@ export class PuppeteerControl extends AsyncService {
|
|||||||
nextSnapshotDeferred = Defer();
|
nextSnapshotDeferred = Defer();
|
||||||
};
|
};
|
||||||
page.on('snapshot', hdl);
|
page.on('snapshot', hdl);
|
||||||
const gotoPromise = page.goto(url, { waitUntil: 'networkidle2', timeout: 30_000 });
|
const gotoPromise = page.goto(url, { waitUntil: 'networkidle0', timeout: 30_000 });
|
||||||
gotoPromise.finally(() => finalized = true);
|
gotoPromise.finally(() => finalized = true);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user