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