mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-15 22:55:56 +08:00
fix: on null element
This commit is contained in:
parent
53a4361c23
commit
15606f38d7
@ -175,8 +175,8 @@ function giveSnapshot() {
|
||||
const r = {
|
||||
title: document.title,
|
||||
href: document.location.href,
|
||||
html: document.documentElement.outerHTML,
|
||||
text: document.body.innerText,
|
||||
html: document.documentElement?.outerHTML,
|
||||
text: document.body?.innerText,
|
||||
parsed: parsed,
|
||||
imgs: [],
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user