mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-16 11:55:56 +08:00
fix
This commit is contained in:
parent
d0a922144d
commit
54fa5feb7f
@ -490,7 +490,7 @@ document.addEventListener('load', handlePageLoad);
|
||||
page.emit('abuse', { url, page, sn, reason: `DoS attack suspected: DOM tree too deep` });
|
||||
return;
|
||||
}
|
||||
if (s?.elemCount && s.elemCount > 15_000) {
|
||||
if (s?.elemCount && s.elemCount > 20_000) {
|
||||
page.emit('abuse', { url, page, sn, reason: `DoS attack suspected: too many DOM elements` });
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user