mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-15 01:06:00 +08:00
fix
This commit is contained in:
parent
c69ec77c60
commit
f6a183f87a
@ -558,7 +558,7 @@ document.addEventListener('load', handlePageLoad);
|
|||||||
screenshot = await page.screenshot();
|
screenshot = await page.screenshot();
|
||||||
lastHTML = snapshot.html;
|
lastHTML = snapshot.html;
|
||||||
}
|
}
|
||||||
if (snapshot) {
|
if (snapshot || screenshot) {
|
||||||
yield { ...snapshot, screenshot } as PageSnapshot;
|
yield { ...snapshot, screenshot } as PageSnapshot;
|
||||||
}
|
}
|
||||||
if (error) {
|
if (error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user