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